# variant

One buyable combination of the offer's options.

<!-- Generated by `bin/console app:dev:reference` from the platform code and docs/dev/_data/. Do not edit by hand. -->

One buyable combination of the offer's options. A variant can be one product, a multipack or a bundle.

Available on: [offer page](../page-types.md#product).

## Properties

| Property | Type | Description |
| --- | --- | --- |
| `variant.id` | string | Variant identifier - the `id` for `/cart/add.js`, and `?variant=` on the offer page. |
| `variant.title` | string | Variant name. |
| `variant.description` | string | The merchant's note about this version - plain text, empty when there is none. |
| `variant.featuredMedia` | [`media`](media.md) or null | The picture of this variant, null when the variant has none. |
| `variant.optionsLabel` | string or null | The options label, for example `L / Natural`. Empty for an offer without options. |
| `variant.optionValues` | hash | Option name to chosen value. |
| `variant.sku` | string or null | Variant SKU. |
| `variant.price` | number | Gross price, in minor units. |
| `variant.compareAtPrice` | number or null | Regular price, shown only while a sale is running. |
| `variant.lowestPrice30d` | number or null | The lowest price of the 30 days before the current sale (Omnibus Directive). Show it next to a sale price. |
| `variant.available` | boolean | True when the variant can be bought. |
| `variant.bundle` | boolean | True when the variant is made of several products. |
| `variant.stockStatus` | string | `instock`, `outofstock`, `onbackorder` or `onpreorder`. A bundle takes the weakest status of its products. |
| `variant.preorder` | boolean | True when the variant is sold in pre-order. It can still be bought - `available` stays true. |
| `variant.preorderDate` | date or null | Expected shipping date of the pre-order - the latest date of the bundle's products. Null when there is no date. |

