Skip to content

product

A product.

Available in: Product template; also loops (collection.products, search results) and all_products.

Property Type Description
product.id string ID.
product.title string Title (in the current language).
product.handle string Handle.
product.url string URL.
product.description html Description.
product.content html Same as description.
product.vendor string Vendor.
product.type string Product type.
product.tags array Tags.
product.price number Lowest variant price (minor units).
product.price_min number Lowest price.
product.price_max number Highest price.
product.price_varies boolean Variants differ in price.
product.compare_at_price number Compare-at price.
product.compare_at_price_max number Highest compare-at price.
product.available boolean A variant can be bought.
product.featured_image image First image.
product.featured_media image First media.
product.images array of image Images.
product.media array Images and external videos.
product.options array Option names.
product.options_with_values array of product_option Options with values.
product.variants array of variant Variants.
product.selected_variant variant Variant from ?variant=.
product.selected_or_first_available_variant variant Selected
product.first_available_variant variant First available variant.
product.has_only_default_variant boolean No options.
product.collections array of collection Collections it’s in.
product.metafields object Custom fields (product.metafields.custom.key).
product.gift_card? boolean A gift card product.
product.published_at date Publish date.
product.created_at date Created.
product.updated_at date Updated.
product.template_suffix string Alternate template.
product.rating number Average published review rating to 1 decimal (reviews feature; nil without reviews).
product.rating_count number Published reviews.
product.reviews reviews Reviews (reviews feature).
product.bestseller boolean One of the store’s top sellers (product_badges feature).
Liquid
{{ product.title }} – {{ product.price | money }}{% if product.compare_at_price > product.price %} (was {{ product.compare_at_price | money }}){% endif %}
Output
Embroidered linen abaya – QAR 450.00 (was QAR 520.00)
Liquid (Arabic page)
{{ product.title }} – {{ product.price | money }}
Output
عباية كتان مطرزة – 450.00 ر.ق

Since theme platform 1.0.

Was this page helpful?