
How to create variable products in WooCommerce
📖 How to create variable products in WooCommerce step by step (with images)
Do you sell products in different sizes, colors, or formats? Then you need WooCommerce variable products.
In this guide you'll learn, step by step and with images, how to set them up in your online store.
1. Create a new product
👉 Go to your WordPress dashboard → sidebar menu Products → click Add New.
✦ Suggested screenshot: WordPress screen with the Add new product button.
2. Fill in the basic information
-
Enter the product name (example: “Basic unisex t-shirt”).
-
Write a long description for your customers.
-
Add the featured image.
✦ Suggested screenshot: form with title, description, and featured image.
3. Change product type to “variable”
-
Scroll down to the Product data section.
-
In the dropdown, select Variable product.
✦ Suggested screenshot: “Product data” box showing the “Variable product” option.
4. Create product attributes
-
Go to the Attributes tab.
-
Click Add.
-
In “Name” enter the attribute, for example: Size.
-
In “Values” add the options separated by
|→ S | M | L | XL. -
Check Used for variations.
-
Click Save attributes.
✦ Suggested screenshot: “Attributes” tab with “Size” and values loaded.
👉 You can repeat the process for another attribute (example: Color).
5. Create the variations
-
Go to the Variations tab.
-
In the dropdown select Create variations from all attributes and click Go.
-
WooCommerce will generate all possible combinations (example: 4 sizes × 3 colors = 12 variations).
✦ Suggested screenshot: “Variations” tab showing the created combinations.
6. Configure each variation
Click the arrow on each variation and adjust:
-
Specific image (example: red t-shirt).
-
Price (required).
-
Stock (if you use inventory control).
-
SKU (unique code).
✦ Suggested screenshot: variation setup with image, price, and stock.
7. Publish the product
-
Double-check that all variations have a price.
-
Click Publish.
-
Open your store and verify the attribute selector appears.
✦ Suggested screenshot: product view in the store with size/color dropdown.
🎯 Final tips
-
Use high-quality photos for each variation.
-
Keep SKUs and prices organized.
-
Don't load too many variations into a single product to avoid affecting speed.






Tutorials
Tutorials
Tutorials
Tutorials









































