Output

Product

product: (returns handle) cool-phone-14

product id: 7657958801461

product title: Téléphone cool 14

product url: /fr/products/cool-phone-14

product type: Téléphones portables

product variants: ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop

product first_available_variant id:

product selected_or_first_available_variant id: 43776968949813

product available: false

product featured_image: files/cool-phone-14-714762.png

product featured_image | img_tag: Liquid error (sections/metafields-reference line 70): image_url must define width or height

product has_only_default_variant: false

- example: (if has default only default variant, show text)

product collections:

- example: (loop through collection titles)

product options: CouleurTaille

product options.size: 2

- example: (loop through options)

  • Couleur
  • Taille

product options_by_name['Color']:

- example: (loop through options_by_name['Color'])

product options_with_values: ProductOptionDropProductOptionDrop

- example: (loop through options_with_values)

product price: 150000

product price_min: 150000

product price_max: 150000

product price_varies: false

product product.tags: 4gretina display

- example: (loop through tags)

  • 4g
  • retina display

product template_suffix: two-col

Metafields of Product

metafields syntax: metafields.namespace.key

product metafields.custom (only if no empty): {% for field in my_field %}

  • Metafield: (returns definition and value) bundle["gid://shopify/Product/7657958801461","gid://shopify/Product/7657958604853"]

product metafields.custom.bundle.type: list.product_reference

product metafields.custom.bundle.value: ProductListDrop

1.Bundle Metafield ###############

    -- list --
  • type Téléphones portables
  • id 7657958801461
  • title Téléphone cool 14
  • url /fr/products/cool-phone-14
  • type Téléphones portables
  • featured_image files/cool-phone-14-714762.png
  • featured_image | img_tag Liquid error (sections/metafields-reference line 224): image_url must define width or height
  • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
  • first_available_variant.id
  • selected_or_first_available_variant.id 43776968949813
  • options CouleurTaille
  • options_by_name['Color']
  • options_with_values ProductOptionDropProductOptionDrop
    • -- list --
    • Couleur
    • Gris ardoiseBleu clairFuchsia
      • -- list --
      • Gris ardoise
      • Bleu clair
      • Fuchsia
    • Taille
    • MLXL
      • -- list --
      • M
      • L
      • XL

    2. Bundle Metafield of Product from Bundle Metafield ###############

      -- list --
    • sub fieldProductDrop
    • type Téléphones portables
    • id 7657958801461
    • title Téléphone cool 14
    • url /fr/products/cool-phone-14
    • type Téléphones portables
    • featured_image files/cool-phone-14-714762.png
    • featured_image | img_tag Liquid error (sections/metafields-reference line 291): image_url must define width or height
    • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
    • first_available_variant.id
    • selected_or_first_available_variant.id 43776968949813
    • options CouleurTaille
    • options_by_name['Color']
    • options_with_values ProductOptionDropProductOptionDrop
      • -- list --
      • Couleur
      • Gris ardoiseBleu clairFuchsia
        • -- list --
        • Gris ardoise
        • Bleu clair
        • Fuchsia
      • Taille
      • MLXL
        • -- list --
        • M
        • L
        • XL

      3. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

        -- list --
      • sub fieldProductDrop
      • type Téléphones portables
      • id 7657958801461
      • title Téléphone cool 14
      • url /fr/products/cool-phone-14
      • type Téléphones portables
      • featured_image files/cool-phone-14-714762.png
      • featured_image | img_tag Liquid error (sections/metafields-reference line 362): image_url must define width or height
      • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
      • first_available_variant.id
      • selected_or_first_available_variant.id 43776968949813
      • options CouleurTaille
      • options_by_name['Color']
      • options_with_values ProductOptionDropProductOptionDrop
        • -- list --
        • Couleur
        • Gris ardoiseBleu clairFuchsia
          • -- list --
          • Gris ardoise
          • Bleu clair
          • Fuchsia
        • Taille
        • MLXL
          • -- list --
          • M
          • L
          • XL

        4. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

          -- list --
        • sub fieldProductDrop
        • type Téléphones portables
        • id 7657958801461
        • title Téléphone cool 14
        • url /fr/products/cool-phone-14
        • type Téléphones portables
        • featured_image files/cool-phone-14-714762.png
        • featured_image | img_tag Liquid error (sections/metafields-reference line 435): image_url must define width or height
        • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
        • first_available_variant.id
        • selected_or_first_available_variant.id 43776968949813
        • options CouleurTaille
        • options_by_name['Color']
        • options_with_values ProductOptionDropProductOptionDrop
          • -- list --
          • Couleur
          • Gris ardoiseBleu clairFuchsia
            • -- list --
            • Gris ardoise
            • Bleu clair
            • Fuchsia
          • Taille
          • MLXL
            • -- list --
            • M
            • L
            • XL

          4. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

            -- list --
          • sub fieldProductDrop
          • type Téléphones portables
          • id 7657958801461
          • title Téléphone cool 14
          • url /fr/products/cool-phone-14
          • type Téléphones portables
          • featured_image files/cool-phone-14-714762.png
          • featured_image | img_tag Liquid error (sections/metafields-reference line 513): image_url must define width or height
          • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
          • first_available_variant.id
          • selected_or_first_available_variant.id 43776968949813
          • options CouleurTaille
          • options_by_name['Color']
          • options_with_values ProductOptionDropProductOptionDrop
            • -- list --
            • Couleur
            • Gris ardoiseBleu clairFuchsia
              • -- list --
              • Gris ardoise
              • Bleu clair
              • Fuchsia
            • Taille
            • MLXL
              • -- list --
              • M
              • L
              • XL

            5. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

              -- list --
            • sub fieldProductDrop
            • type Téléphones portables
            • id 7657958801461
            • title Téléphone cool 14
            • url /fr/products/cool-phone-14
            • type Téléphones portables
            • featured_image files/cool-phone-14-714762.png
            • featured_image | img_tag Liquid error (sections/metafields-reference line 594): image_url must define width or height
            • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
            • first_available_variant.id
            • selected_or_first_available_variant.id 43776968949813
            • options CouleurTaille
            • options_by_name['Color']
            • options_with_values ProductOptionDropProductOptionDrop
              • -- list --
              • Couleur
              • Gris ardoiseBleu clairFuchsia
                • -- list --
                • Gris ardoise
                • Bleu clair
                • Fuchsia
              • Taille
              • MLXL
                • -- list --
                • M
                • L
                • XL
            • sub fieldProductDrop
            • type Téléphones portables
            • id 7657958604853
            • title Téléphone cool 15
            • url /fr/products/cool-phone-15
            • type Téléphones portables
            • featured_image files/cool-phone-15-601189.png
            • featured_image | img_tag Liquid error (sections/metafields-reference line 594): image_url must define width or height
            • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
            • first_available_variant.id
            • selected_or_first_available_variant.id 43776968425525
            • options MémoireCouleur
            • options_by_name['Color']
            • options_with_values ProductOptionDropProductOptionDrop
              • -- list --
              • Mémoire
              • 64128256512
                • -- list --
                • 64
                • 128
                • 256
                • 512
              • Couleur
              • NoirBleu
                • -- list --
                • Noir
                • Bleu
          • sub fieldProductDrop
          • type Téléphones portables
          • id 7657958604853
          • title Téléphone cool 15
          • url /fr/products/cool-phone-15
          • type Téléphones portables
          • featured_image files/cool-phone-15-601189.png
          • featured_image | img_tag Liquid error (sections/metafields-reference line 513): image_url must define width or height
          • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
          • first_available_variant.id
          • selected_or_first_available_variant.id 43776968425525
          • options MémoireCouleur
          • options_by_name['Color']
          • options_with_values ProductOptionDropProductOptionDrop
            • -- list --
            • Mémoire
            • 64128256512
              • -- list --
              • 64
              • 128
              • 256
              • 512
            • Couleur
            • NoirBleu
              • -- list --
              • Noir
              • Bleu

            5. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

              -- list --
        • sub fieldProductDrop
        • type Téléphones portables
        • id 7657958604853
        • title Téléphone cool 15
        • url /fr/products/cool-phone-15
        • type Téléphones portables
        • featured_image files/cool-phone-15-601189.png
        • featured_image | img_tag Liquid error (sections/metafields-reference line 435): image_url must define width or height
        • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
        • first_available_variant.id
        • selected_or_first_available_variant.id 43776968425525
        • options MémoireCouleur
        • options_by_name['Color']
        • options_with_values ProductOptionDropProductOptionDrop
          • -- list --
          • Mémoire
          • 64128256512
            • -- list --
            • 64
            • 128
            • 256
            • 512
          • Couleur
          • NoirBleu
            • -- list --
            • Noir
            • Bleu

          4. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

            -- list --
      • sub fieldProductDrop
      • type Téléphones portables
      • id 7657958604853
      • title Téléphone cool 15
      • url /fr/products/cool-phone-15
      • type Téléphones portables
      • featured_image files/cool-phone-15-601189.png
      • featured_image | img_tag Liquid error (sections/metafields-reference line 362): image_url must define width or height
      • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
      • first_available_variant.id
      • selected_or_first_available_variant.id 43776968425525
      • options MémoireCouleur
      • options_by_name['Color']
      • options_with_values ProductOptionDropProductOptionDrop
        • -- list --
        • Mémoire
        • 64128256512
          • -- list --
          • 64
          • 128
          • 256
          • 512
        • Couleur
        • NoirBleu
          • -- list --
          • Noir
          • Bleu

        4. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

          -- list --
    • sub fieldProductDrop
    • type Téléphones portables
    • id 7657958604853
    • title Téléphone cool 15
    • url /fr/products/cool-phone-15
    • type Téléphones portables
    • featured_image files/cool-phone-15-601189.png
    • featured_image | img_tag Liquid error (sections/metafields-reference line 291): image_url must define width or height
    • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
    • first_available_variant.id
    • selected_or_first_available_variant.id 43776968425525
    • options MémoireCouleur
    • options_by_name['Color']
    • options_with_values ProductOptionDropProductOptionDrop
      • -- list --
      • Mémoire
      • 64128256512
        • -- list --
        • 64
        • 128
        • 256
        • 512
      • Couleur
      • NoirBleu
        • -- list --
        • Noir
        • Bleu

      3. Bundle Metafield of Product from Bundle Metafield from Product Bundle from Bundle Metafield ###############

        -- list --
  • type Téléphones portables
  • id 7657958604853
  • title Téléphone cool 15
  • url /fr/products/cool-phone-15
  • type Téléphones portables
  • featured_image files/cool-phone-15-601189.png
  • featured_image | img_tag Liquid error (sections/metafields-reference line 224): image_url must define width or height
  • variants ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop
  • first_available_variant.id
  • selected_or_first_available_variant.id 43776968425525
  • options MémoireCouleur
  • options_by_name['Color']
  • options_with_values ProductOptionDropProductOptionDrop
    • -- list --
    • Mémoire
    • 64128256512
      • -- list --
      • 64
      • 128
      • 256
      • 512
    • Couleur
    • NoirBleu
      • -- list --
      • Noir
      • Bleu

    2. Bundle Metafield of Product from Bundle Metafield ###############

      -- list --

Variant | product.variants[2]

variant: ProductVariantDrop

variant id: 43776969015349

variant title: Gris ardoise / XL

variant product id: 7657958801461

variant SKU:

variant url: /fr/products/cool-phone-14?variant=43776969015349

variant available: false

variant inventory_quantity: 0

variant inventory_management: shopify

variant image:

variant image | img_tag: Liquid error (sections/metafields-reference line 709): invalid url input

variant options: Gris ardoiseXL

variant option1: Gris ardoise

variant option2: XL

variant option3:

variant options.size: 2

- example: (loop through options)

    -- list --
  • Gris ardoise
  • XL

variant price: 150000

variant unit_price:

Metafields | variants.metafields

variant metafields.namespace.key:

    -- list --

variant metafields.type: {}

variant metafields.value: {}

Product List

Product list: ProductListDrop

Collection

product: all

Collection List

product: CollectionListDrop

Link List

product: main-menu