product
A product in the store.
Properties
Returns true if at least one of the variants of the product is available. Returns false if not.
The collections that the product belongs to.
Collections that aren't available on the Online Store sales channel aren't included.
The lowest compare at price of any variants of the product in the currency's subunit.
The value is output in the customer's local (presentment) currency.
Use money helper to output a formatted price.
The highest compare at price of any variants of the product in the currency's subunit.
The value is output in the customer's local (presentment) currency.
Use money helper to output a formatted price.
The lowest compare at price of any variants of the product in the currency's subunit. This is the same as product.compare_at_price.
The value is output in the customer's local (presentment) currency.
Use money helper to output a formatted price.
Returns true if the variant compare at prices of the product vary. Returns false if not.
A timestamp for when the product was created.
Use the date helper to format the timestamp.
The description of the product.
The first (featured) image attached to the product.
The first (featured) media attached to the product.
You can use media helpers to output media URLs and displays. To learn about how to include media in your theme, refer to Support product media.
The first available variant of the product.
Returns true if the product is a gift card. Returns false if not.
The handle of the product.
Returns true if the product doesn't have any options. Returns false if not.
The ID of the product.
The images attached to the product.
The media attached to the product, sorted by the date it was added to the product.
You can use media helpers to output media URLs and displays. To learn about how to include media in your theme, refer to Support product media.
The metafields applied to the product.
To learn about how to create metafields, refer to Create and manage metafields or visit the Shopline Help Center.
The option names of the product.
{{#if product.options.length '>' 0}}
{{#each product.options as |option|}}
- {{option}}
{{/each}}
{{/if}}
Allows you to access a specific product option by its name.
<label>
Strength
<select>
{{#each product.options_by_name.strength.values as |value|}}
<option>{{ value }}</option>
{{/each}}
</select>
</label>
The options on the product.
The lowest price of any variants of the product in the currency's subunit.
This is the same value as product.price_min.
The value is output in the customer's local (presentment) currency.
Use money helpers to output a formatted price.
The highest price of any variants of the product in the currency's subunit.
The value is output in the customer's local (presentment) currency.
Use money helpers to output a formatted price.
The lowest price of any variants of the product in the currency's subunit.
This is the same value as product.price.
The value is output in the customer's local (presentment) currency.
Use money helpers to output a formatted price.
A timestamp for when the product was published.
Use the date helper to format the timestamp.
Returns true if all of the variants of the product require a selling plan. Returns false if not.
A variant requires a selling plan if variant.requires_selling_plan is true.
The currently selected or first available variant of the product.
The selected variant is determined by the variant URL parameter. The selected_variant parameter is available on product pages only.
The currently selected variant of the product.
If no variant is currently selected, then null is returned.
The selected variant is determined by the variant URL parameter. This URL parameter is available on product pages URLs only.
The selling plan groups that the variants of the product are included in.
The tags of the product.
The tags are returned in alphabetical order.
The name of the custom template of the product.
The name doesn't include the product. prefix, or the file extension (.json or .html).
If a custom template isn't assigned to the product, then null is returned.
The title of the product.
The type of the product.
The relative URL of the product.
The variants of the product.
The brand of the product.