Help

Frequently asked questions and other useful tidbits.

Product Option

Updated on June 30th, 2008

option.id

Returns the id of an option.

option.name

Returns the name of an option.

option.position

Returns the position of an option in a product’s option list.

option.sold

Returns the number of times an option has been sold.

option.sold_out

Returns true of false based on whether the option is sold out. If you’re not using Big Cartel’s inventory tracking, then this is always true.

{% if option.sold_out %}
  Sold out!
{% else %}
  Buy now!
{% end %}

option.quantity

Returns the quantity left in stock for an option.

option.inventory

Returns the remaining inventory percentage of an option. Learn how this is calculated »

{{ option.inventory }}% left in stock

option.default

Returns true of false based on whether the option is the product’s default option.

Contact

Can’t find an answer to your question? No worries, we’re here to help.