How to add a product with variations (size, colour)
One product in several sizes or colours, each variation with its own price, stock and photo.
6 min 7 steps E-commerce
-
1
Global attributes
Create attributes you use on several products (Size, Colour) once: Products → Attributes → add a name and click Configure terms, where you add the values (S, M, L…).
-
2
Product type
Open the product (or Add new) and under Product data change Simple product to Variable product.
-
3
Assign attributes
Attributes tab: choose the attribute, add values (Select all or one by one), tick Used for variations and click Save attributes.
-
4
Create variations
Variations tab → Generate variations. WooCommerce creates every combination (for example 3 sizes × 2 colours = 6 variations). Delete the ones you don't need.
-
5
Price and stock for each variation
Click a variation and fill in the Regular price (required; without a price the variation can't be bought), SKU, stock and weight. To give them all the same price, use Bulk actions → Set regular prices.
-
6
Variation photo
Click the image icon on the variation and choose a photo. When a customer picks a colour, they see the right photo.
-
7
Default variation and saving
Under Default form values you can preselect the most common choice. Click Save changes and then Update. More complex products, for example with a configurator or price by size, are a job for a custom online shop.
Related guides
All guides- E-commerce · 7 min How to add a product in WooCommerce A new product in your online shop: price, stock, photos, variations and the settings that help it sell and show up well in Google.
- E-commerce · 3 min How to manage product categories New categories, subcategories, order and category images, so customers find their way around your shop quickly.