Grouping your products by attributes such as "Size", "Colour" or "Material" in your Shopify store makes it easier for customers to find what they're looking for. When you set variants for a product, Shopify processes this data and creates all the combinations automatically. This keeps your inventory organised and makes your stock management accurate.
How does the Shopify variant system work?
On Shopify, variants are sub-versions of a main product. For example, if you have a main product called "Cotton T-shirt", its variants might be "S-Blue", "M-Blue" or "L-Red". Each variant can have a unique SKU, its own stock quantity, a different price and its own image.
How to add Shopify product variants step by step
Creating variants manually
When creating a new product or updating an existing one, follow these steps:
Go to products: in your Shopify admin, click the Products tab.
Select: click the name of the product you want to edit.
Find the section: scroll down to the Variants section.
Add: click "Add options like size or color".
Fill in details: enter the attribute's name in the Option name field (e.g. Size) and its values in the Option values field (e.g. S, M, L).
Combine: if you want to add a second attribute (e.g. Colour), click "Add another option" and repeat the process.
Save: click Done, then click Save at the top right of the page.
Managing variants in the mobile app
When you're away from your computer, open the product in the Shopify mobile app, go to the Variants section and do the same with the "Add options like color, size, etc." option.
Bulk variant management and tips
As your product range grows, using bulk product uploads instead of manual edits saves time.
Creating new combinations in bulk
Adding a new value to an existing product later makes the system generate all the combinations automatically:
In the Variants section, click Edit next to the relevant option.
Enter the new value (e.g. Green) in Add another value.
When you click Done, the system combines this new colour with the other existing attributes.
Quick updates with Bulk edit
To update the price, stock or SKU of all your variants in a single table:
In the Variants section, select the variants you want to edit.
Click the Bulk edit button that appears at the top.
Make the changes in the table and confirm with Save.
Duplicating similar variants
If you want to add a single specific variant, you can use Duplicate next to an existing variant to quickly create a new row and change only its value (e.g. "XXL").
Assigning images to variants
To make the image change based on the colour or model customers select:
Upload all images to the Media section on the product page.
In the Variants section, click the empty box to the left of each variant.
In the window that opens, select the image that matches that variant.
Key rules when adding variants
3-option limit: Shopify allows a maximum of 3 option types per product (Colour, Size, Material, etc.). For more complex structures you may need an app.
2,048-variant limit: you can add up to 2,048 variants to a product on Shopify. This limit used to be 100; products with many size and colour combinations can now be managed on a single product page.
Combining different products on one page: where each colour needs to be kept as a separate product, Shopify Plus stores can use the Combined Listings app to show these products as options on a single product page.
Variant or metafield? Attributes customers need to choose between and whose stock is tracked separately (size, colour) should be variants. Informational attributes such as fabric content or care instructions should be stored as metafields. We explain why it matters to set this up correctly from the start in our article on setup mistakes.
Unique combinations required: you can't save a combination such as "M/Black" twice for the same product; the system rejects it.
New value required: to create a new variant row, at least one of the existing values must change.
Location and stock: if you use multiple warehouses, check that variants are "active" at the relevant location.
Frequently asked questions
How many option types can I add to a product?
You can add a maximum of 3 option types per product (e.g. Colour, Size, Material).
How many variants can I add to a product?
You can add up to 2,048 variants to a product. All combinations of the values of the three option types must stay within this limit.
How do I set different prices for variants?
In the Variants section of the product details page, click the Price column next to each row to set a separate price for each variant.
How do I hide out-of-stock variants?
Setting the stock quantity to 0 doesn't hide a variant; in most themes the variant still shows as "sold out". To hide sold-out variants completely, check whether your theme has a setting for this or use an app. If you won't sell the variant again, you can delete it.
How do I edit variants with CSV?
Use the Export button on the Products page to export the file, edit it in Excel and upload it again with Import.
Can I change the order in which customers see variants?
Yes, you can drag and drop the options in the Variants section into the order you want.





