product_option
The product_option object.
Properties
| Property | Description |
|---|---|
product_option.available | true when at least one variant can be purchased. |
product_option.default_value_id | — |
product_option.display_type | — |
product_option.has_values | — |
product_option.id | Unique identifier. |
product_option.is_default | — |
product_option.name | Name. |
product_option.position | Position/order index. |
product_option.product_url | — |
product_option.public_title | — |
product_option.selected | — |
product_option.selected_value | — |
product_option.swatch | — |
product_option.value | The value. |
product_option.values | The values. |
product_option.variant | — |
product_option.variant_id | — |
Property list is generated from the storefront engine (ProductOptionDrop), so it always matches what your theme can use. Inspect live values with {{ product_option | json }}.