Output

Product

product: (returns handle) laptop-1

product id: 7657957916725

product title: Ordinateur portable 1

product url: /fr/products/laptop-1

product type: Ordinateurs portables

product variants: ProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDropProductVariantDrop

product first_available_variant id: 43776965148725

product selected_or_first_available_variant id: 43776965148725

product available: true

product featured_image: files/laptop-1-491826.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: CollectionDrop

- example: (loop through collection titles)

  • Page d'accueil

product options: CouleurModèleTaille

product options.size: 3

- example: (loop through options)

  • Couleur
  • Modèle
  • Taille

product options_by_name['Color']:

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

product options_with_values: ProductOptionDropProductOptionDropProductOptionDrop

- example: (loop through options_with_values)

product price: 650000

product price_min: 650000

product price_max: 6050000

product price_varies: true

product product.tags:

- example: (loop through tags)

product template_suffix:

Metafields of Product

metafields syntax: metafields.namespace.key

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

product metafields.custom.bundle.type:

product metafields.custom.bundle.value:

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

    -- list --

Variant | product.variants[2]

variant: ProductVariantDrop

variant id: 43776965214261

variant title: Argent / M1 / 14

variant product id: 7657957916725

variant SKU: TCALAPTOPSILM114

variant url: /fr/products/laptop-1?variant=43776965214261

variant available: true

variant inventory_quantity: 0

variant inventory_management: shopify

variant image: files/laptop-1-989659.png

variant image | img_tag: Liquid error (sections/metafields-reference line 709): image_url must define width or height

variant options: ArgentM114

variant option1: Argent

variant option2: M1

variant option3: 14

variant options.size: 3

- example: (loop through options)

    -- list --
  • Argent
  • M1
  • 14

variant price: 750000

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