# What is a variant in Shopify?

> One version of a product that a customer can buy, such as the Sand shirt in size M, with its own price, compare-at price, SKU, barcode, stock, weight and image.

URL: https://www.smootify.io/glossary/variant

A variant is one combination of a product’s [option](https://www.smootify.io/glossary/option) values: Sand / M. It is what the cart and the order hold. Each variant has its own:

- **price** and **compare-at price** (the crossed-out “was” price);
- **SKU**, your own code for it, and **barcode** (GTIN, EAN, UPC);
- **stock**, per location, and whether it can be sold when it runs out;
- **weight**, for shipping;
- **image**, one of the product’s photos;
- **unit price**, where the law asks for one.

A product can have up to 2,048 variants. A product without options has exactly one, called “Default Title”, which Shopify hides in the admin.

## In Webflow terms

A variant has no Webflow equivalent: the Products collection holds one item per product, not per variant. That is on purpose. Stock and prices change too often for the CMS, so Smootify reads them live from Shopify, for the variant the visitor has picked.

## In Smootify

Inside `smootify-product`, the `variant="…"` attributes show the selected variant: `variant="sku"`, `variant="stock"`, `variant="unit-price"`. They change as the customer picks options. A link with `?variant=` and a variant id opens the product on that variant, and the address follows the customer’s picks.

When the picked combination does not exist, or is sold out, the add-to-cart button is disabled and gets the class `is-disabled`.

A linen shirt with two options: **Color** (Sand, Navy) and **Size** (S, M, L). The options make the variants, one per combination, and each variant has its own SKU, price and stock:

| Variant | SKU | Price | Stock |
|---|---|---|---|
| Sand / S | `LS-SAN-S` | $49 | 12 |
| Sand / M | `LS-SAN-M` | $49 | 0, sold out |
| Sand / L | `LS-SAN-L` | $49 | 4 |
| Navy / S | `LS-NAV-S` | $55 | 8 |
| Navy / M | `LS-NAV-M` | $55 | 3 |
| Navy / L | not created: the combination does not exist | | |

The customer picks a value for each option; the variant they buy is the combination. A combination that was not created cannot be bought.

More in [The product page](https://www.smootify.io/docs/build/product-page) and the [variant attributes](https://www.smootify.io/docs/reference/attributes/variant).
