VariantChoice - Liquid Object Reference
On this page
Description
The VariantChoice object defines a product choice in within a VariantType grouping. For example, if the VariantType is Colour, a VariantChoice might be Red.
Attributes
| Attribute | Type | Description |
|---|---|---|
form_value |
String | Returns a code-safe value for the VariantChoice |
label |
String | Returns the label of the VariantChoice |
name |
String | Returns the name of the VariantChoice |
value |
String | Returns the value of the VariantChoice |
Available on
- Product - Liquid Object Reference —
variant_choices - VariantType - Liquid Object Reference —
variant_choices
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.