Option
The option object describes a single option within a product customization group.
{%- comment -%} Show customization option with price {%- endcomment -%}
{{ option.title }}{% if option.price > 0 %} (+{{ option.price }}){% endif %}id
Returns the id.
title
Returns the title.
original_net_price
Returns the net price without any discounts.
original_price
Returns the price without any discounts.
net_price
Returns the discounted net price.
price
Returns the discounted price.
image
Returns the image.
tax
Returns the tax.
group
Returns the group this option belongs to.
child_group
Returns the child group for this option.
inventory_management
Returns the inventory management.
stock
Returns the stock quantity.
stock
Returns true if this option is in stock.
stock_alarm
Returns true if this option is low on stock.
max_length
Textarea only, returns the maximum length for the text.
min_length
Textarea only, returns the minimum length for the text.
rows
Textarea only, returns the rows for the text.