Variable products are a product type in WooCommerce that lets you offer a set of variations on a product, with control over prices, stock, image and more for each variation. They can be used for a product like a shirt, where you can offer a large, medium and small and in different colors.
To add a variable product, create a new product or edit an existing one.
In the Attributes section, add attributes before creating variations — use global attributes that are site-wide or define custom ones specific to a product.
To use a global attribute:
Adding a global attribute
Adding global attribute values
To add a variation, go to the Variations Tab
2. Select attributes for your variation. To change additional data, click the triangle icon to expand the variation.
4. Edit any available data. The only required field is Regular Price.
5. Click Save changes.
Select Create variations from all attributes to have WooCommerce create every possible combination of variations and click Go:
It will create a new variation for each and every possible combination of variation attributes (max 50 per run). If you have more possible combinations you can run it again.
If you have two attributes – color (with values blue and green) and size (with values large and small) it creates the following variations:
Each variation can have the following properties.
Sign up to our newsletter and stay up-to-date.