variant
A specific purchasable version of a product (one combination of option values).
Example
{{ variant.title }}: {{ variant.price | money }} ({{ variant.inventory_quantity }} left)Output:
Large: ₹1,899.00 (7 left)Properties
| Property | Description |
|---|---|
variant.api_payload | — |
variant.available | true when at least one variant can be purchased. |
variant.backorder_allowed | — |
variant.barcode | Barcode value. |
variant.bpn | — |
variant.bulk_pricing_discount_type | — |
variant.bulk_pricing_enabled | — |
variant.bulk_pricing_tiers | — |
variant.bundle | — |
variant.bundle_items | — |
variant.compare_at_price | Original price before discount, if any. |
variant.compare_at_price_in_cents | — |
variant.created_at | Creation timestamp. |
variant.digital_delivery | — |
variant.featured_image | The featured image. |
variant.featured_media | The featured media item. |
variant.gtin | — |
variant.id | Unique identifier. |
variant.image | Primary image. |
variant.image_url | — |
variant.images | All images. |
variant.inventory_management | Inventory tracking system, if any. |
variant.inventory_policy | ’deny’ or ‘continue’ — selling when out of stock. |
variant.inventory_quantity | Units in stock. |
variant.inventory_tracked | — |
variant.media | All media (images, video, 3D). |
variant.metafields | Metafields on this resource. |
variant.mpn | — |
variant.msrp | — |
variant.name | Name. |
variant.on_sale | — |
variant.option1 | — |
variant.option2 | — |
variant.option3 | — |
variant.option_1 | — |
variant.option_2 | — |
variant.option_3 | — |
variant.option_names | — |
variant.option_values | — |
variant.option_values_by_name | — |
variant.option_values_concatenated | — |
variant.options | Option definitions (name, values). |
variant.position | Position/order index. |
variant.price | Price in the smallest currency unit (paise). Format with money. |
variant.price_in_cents | — |
variant.product | — |
variant.product_id | — |
variant.product_type | — |
variant.public_title | — |
variant.purchasable | — |
variant.regular_price | — |
variant.requires_shipping | true when physical delivery is needed. |
variant.sale_price_in_cents | — |
variant.selected | — |
variant.selected_options | — |
variant.sku | Stock keeping unit. |
variant.store_id | — |
variant.taxable | true when taxed. |
variant.title | Display title. |
variant.unit_price | — |
variant.unit_price_measurement | — |
variant.upc | — |
variant.updated_at | Last update timestamp. |
variant.url | Relative URL of the resource. |
variant.value | The value. |
variant.videos | — |
variant.weight | Weight in grams. |
Property list is generated from the storefront engine (VariantDrop), so it always matches what your theme can use. Inspect live values with {{ variant | json }}.