Product variants
Sell one product in several versions such as size or colour: define options, generate every combination with its own SKU and price, and keep them priced.
In plain words: A variant is one version of a product, for example the same T-shirt in size M and colour blue. The main product is the parent. You describe what varies (the options, such as Size and Colour), and Commerce builds one variant for every combination, each with its own code and price. Read this page when a single product comes in more than one version. New to the words? See Commerce basics.
Where to find it: Commerce > left icon rail > Product > Products > open the parent product > Variants in the left panel. Who can use it: people who can edit the product's catalog.
Why variants exist
Without variants you would create "T-shirt S blue", "T-shirt S green" and so on as separate products, and repeat the description each time. With variants, the parent holds what is shared. Each variant holds only what differs: its SKU (your stock code) and its price. Customers and sellers pick the version when they build a quote.
Words used on this page
Option: one thing that varies, such as Size or Colour.
Value: one choice of an option, such as S, M or L.
Combination: one value from each option, such as M and Blue.
Parent: the main product. It can have variants only if it is a standard product.
Step by step
1. Define the options
Open the parent product and click Variants in the left panel. The page has an Options section and a Variants section.
Under Options, click Add option.
In Option name (e.g. Size), type the name, for example Size.
In Add value, type a value such as S and press Enter, or click the plus button. The value becomes a chip. Repeat for M and L. Click the small cross on a chip to remove a value.
Click Add option again for the next option, for example Colour with values Blue and Green.
Click Save options. A message says "Options saved". While you have unsaved edits, an Unsaved tag shows next to the heading.
An option needs a name and at least one value. A half-filled option shows "Name this option, or remove it." or "Add at least one value, or remove this option." A value that already exists in the option is refused. Click the bin on an option to remove it.

2. Generate the variants
Under Variants, click Generate variants. Commerce saves your options first, then opens the Generate dialog titled for the number of variants it will make, for example Generate 6 variants.
Read the table. Every missing combination is a row with its Variant name, an editable SKU and an editable Unit price.
The name is the parent's name followed by the combination in brackets, for example "T-shirt (M / Blue)".
The SKU is the parent's SKU, a dash, and the values, for example TS-M-BLUE.
The price starts at the parent's price.
Edit any SKU or price you want to change.
Under Pricebook, choose where each price should be listed so the variant can be quoted. The default pricebook of the product's currency is preselected. Keep Don't add to a pricebook to price them later.
Check the sentence "This product will then have 6 variants."
Click the button at the bottom. It reads, for example, Create 6 variants.
With 3 sizes and 2 colours you get 3 x 2 = 6 variants. A progress counter such as "3 / 6" runs while they are made. At the end a message says how many were created, and how many were priced in the pricebook.

3. Keep them priced
A variant without a price in a pricebook cannot be quoted. If some are missing a price, a notice reads "2 variants have no price in a pricebook, so quotes can't offer them." Click Add to plus the pricebook name (for example Add to Standard 2026) to list them all at their saved prices. Save any edits first. The button is disabled with the hint "Save changes first, the saved price is the one added" while edits are pending.
In the variants table you can edit each variant's SKU and Unit price, then click Save changes. Listing a price in a pricebook is create-only, so changing the price here later does not change the pricebook. A small note under the price reads "Quotes use ..." and shows the pricebook's own price when the two differ. To change what quotes use, edit the price entry, see Price entries.
Add a value or an option later
Add the new value or option in Options, then click Generate variants again. Commerce creates only the combinations that do not exist yet. If every combination exists, it says "All combinations already exist."
If you rename an option (Size to Dimension), Commerce renames it on all existing variants too, so they are not duplicated.
If you remove a value that variants still use, those variants stay on sale and a notice says "1 variant no longer match the saved options". Delete them with the bin on their row, or put the value back.
Limits
A product can have at most 200 variants. If the new combinations would go past that, you see "That combination is 240 variants; the cap is 200. Remove some values first." Remove values, or split the product in two.
Variants are managed from the parent. Opening a variant shows "Variants are managed on the parent product."
To delete one variant, click the bin on its row and confirm. This cannot be undone.
Variants from a store
If the product was imported from an online store, a notice says "This product mirrors ... A store sync re-derives its options and variants, so edits made here can be overwritten." Change them in the store instead, see Stores.
Selling a variant
On a quote or order line, open the line's menu and choose Change variant to switch to another version of the same product. A variant is a product in its own right: it has its own SKU, its own price entry, and its own stock if you track stock. See Create a quote.
Troubleshooting
Problem | Why it happens | What to do |
|---|---|---|
Generate variants says "Add at least one option with values" | The options are empty | Add an option with at least one value |
The 200 cap message | Too many combinations | Remove values or split the product |
Variants do not appear on a quote | They have no price in a pricebook | Click Add to the pricebook name on the Variants page |
Add price does not list a variant | Variants are not offered there | Price variants from their parent's Variants page |
A price I changed is not used on quotes | The pricebook keeps its own price | Edit the price entry in the pricebook |
My options reverted after a sync | The product mirrors a store | Edit in the store |