Display individual product information, images, variants, and purchase options
product
object contains all information about a single product. It’s available on product pages and provides access to everything needed to display product details, handle variants, and enable purchasing.
Property | Type | Description |
---|---|---|
product.id | String | Product ID |
product.sku | String | Product article number |
product.title | String | Product title |
product.description | String | Product description |
product.gtin | String | Product EAN code |
product.supplier_name | String | Product supplier |
product.supplier_sku | String | Product supplier article number |
Property | Type | Description |
---|---|---|
product.price | String | Product price (formatted) |
product.price_raw | String | Product price without formatting |
product.before_price | String | Product comparison price |
product.has_before_price | Boolean | Check if product has a comparison price |
product.currency | String | Currency |
Property | Type | Description |
---|---|---|
product.soldOut | Boolean | Check if product is out of stock |
Property | Type | Description |
---|---|---|
product.datafield_1 | String | Custom product information from data field 1 |
product.datafield_2 | String | Custom product information from data field 2 |
product.datafield_x | String | Custom product information from data field X (replace X with field ID) |
product.images
:
Property | Type | Description |
---|---|---|
image | String | Image link |
image_id | String | Image ID |
alttext | String | Image ALT text |
Property | Type | Description |
---|---|---|
product.firstimage | String | Product’s first image |
product.secondimage | String | Product’s second image |
product.options
:
Property | Type | Description |
---|---|---|
option_title | String | Product option title |
option_values | Array | Object containing Product Option’s all Variants |
option_values
:
Property | Type | Description |
---|---|---|
id | String | Variant ID |
name | String | Variant designation |
related_products
, access properties with rp.
prefix:
Property | Type | Description |
---|---|---|
rp.title | String | Product title |
rp.id | String | Product ID |
rp.sku | String | Product article number |
rp.price | String | Product price |
rp.before_price | String | Product comparison price |
rp.has_before_price | Boolean | Check if product has comparison price |
rp.description | String | Product description |
rp.firstimage | String | Product’s first image |
rp.secondimage | String | Product’s second image |
rp.soldOut | Boolean | Check if product is out of stock |
rp.supplier_name | String | Product supplier |
rp.supplier_sku | String | Product supplier article number |
rp.hasOptions | Boolean | Check if product has variants |
{{#img}}
wrapper with appropriate sizes for responsive images