product
The product object has the following attributes:
product.title
Returns the title of the product.
product.url
Returns the relative URL of the product.
{{ product.url }}
/products/sample-product-3
product.description
Returns the description of the product.
product.price
Returns the price of the product. Use one of the money filters to return the value in a monetary format.
product.price_max
Returns the highest price of the product. Use one of the money filters to return the value in a monetary format.
product.price_min
Returns the lowest price of the product. Use one of the money filters to return the value in a monetary format.
product.compare_at_price
Returns the compare at price of the product. Use one of the money filters to return the value in a monetary format.
product.available
Return true if a product is available for purchase. Return false if all the products variants inventory quantity value are zero.
product.variants
Returns an array the product's variants. More info ›
product.images
Returns an array the product's images.
product.options
Returns an array of the product's option names.
{% for option in product.options %}
{{ option }}
{{% endfor %}
Color
Size
product.featured_image
Returns the relative URL of the product's featured image.
product.collections
Returns an array of all of the collections a product belongs to. More info ›
{% for collection in product.collections %}
{{ collection.title }}
{% endfor %}
Feature on homepage
Fashion
Jeans