{"title":"VariantChoice - Liquid Object Reference","slug":"variant-choice-liquid-object-reference","url":"https://support.storeconnect.com/articles/variant-choice-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/variant-choice-liquid-object-reference.md","subtitle":null,"summary":"The VariantChoice object defines a product choice in within a VariantType grouping. For example, if the VariantType is Color, a VariantChoice might be Red.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, VariantChoice, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe VariantChoice object defines a product choice in within a VariantType grouping. For example, if the VariantType is Colour, a VariantChoice might be Red.\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `form_value` | String | Returns a code-safe value for the VariantChoice |\n| `label` | String | Returns the label of the VariantChoice |\n| `name` | String | Returns the name of the VariantChoice |\n| `value` | String | Returns the value of the VariantChoice |\n\n## Available on\n\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `variant_choices`\n- [VariantType - Liquid Object Reference](variant-type-liquid-object-reference) — `variant_choices`"}