Output

Product

product: (returns handle) laptop-1

product id: 7657957916725

product title: Laptop 1

product url: /products/laptop-1

product type: Laptops

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:

- example: (loop through collection titles)

product options: ColorModelSize

product options.size: 3

- example: (loop through options)

  • Color
  • Model
  • Size

product options_by_name['Color']: ProductOptionDrop

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

  • Silver
  • Dark_Grey
  • Sea_Green
  • Dark_Blue
  • Pink
  • Purple

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: Silver / M1 / 14

variant product id: 7657957916725

variant SKU: TCALAPTOPSILM114

variant url: /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: SilverM114

variant option1: Silver

variant option2: M1

variant option3: 14

variant options.size: 3

- example: (loop through options)

    -- list --
  • Silver
  • 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