Products with several sizes, colors or other selectable characteristics are common in WooCommerce, but a clear structure is essential for accurate purchasing and stock control. The key is to understand that an attribute describes a product, while a variation represents a specific combination that a customer can buy. Adding attributes alone does not create purchasable options.
This guide explains how to configure WooCommerce variable products from the product editor through final testing. You will learn how to distinguish global and product-specific attributes, enable attributes for variations, create only the combinations you intend to sell, assign prices and inventory, set default selections, use bulk actions and understand what changes when a product contains more than 30 variations.
What Is a WooCommerce Variable Product?
A variable product combines structured product characteristics with individual purchasable combinations. This model is useful when one product is offered in several selectable configurations, such as a particular size and color. Customers choose values through the product interface, and WooCommerce uses those choices to identify the variation that should be purchased.
Attributes Describe the Product
Attributes define the characteristics and values used to describe or select a product. Examples include an attribute named Size with values such as Small, Medium and Large, or an attribute named Color with values such as Black and White. These values establish the possible choices, but they do not automatically become separate products or purchasable items.
WooCommerce supports global attributes created under Products > Attributes and attributes created specifically for one product. The appropriate choice depends on the structure and maintenance needs of the catalog. A global attribute can provide a reusable catalog characteristic, while a product-specific attribute can remain limited to the product being edited.
Variations Are Purchasable Combinations
A variation is a specific combination of attribute values that can be sold. For example, Size: Medium combined with Color: Black can represent one variation, while Size: Large combined with Color: Black can represent another. Each variation may have its own regular price, sale price, SKU, image, shipping information, tax class and stock settings.
This distinction matters because not every theoretical combination has to be sold. A product may contain several attribute values while only selected combinations are created as variations. The variation is the level at which WooCommerce can store the data needed for that particular purchasable option.
Attributes vs. Variations: The Key Difference
Attributes are the structured characteristics and selectable values of a product. Variations are the concrete combinations created from those values. In practical terms, an attribute answers “What choices does this product have?”, while a variation answers “Which exact combination can the customer purchase?”
Saving an attribute does not automatically mean that WooCommerce has created every possible variation. The attribute must first be made eligible for variation creation, and the combinations must then be generated or added manually. This lets the store owner decide whether all possible combinations should be sold or only a defined selection.
The “Used for variations” Setting
In the product editor, an attribute must be marked as Used for variations before it can be used to create variations. This setting connects the attribute values with the Variations section. If the setting is not enabled, the attribute can still describe the product or support selection in the editor, but it cannot be used to build the purchasable combinations.
After adding the relevant global or product-specific attributes, enable this setting and save the attributes before moving to variation creation. This sequence helps keep the product structure clear and prevents the common assumption that entering values alone is enough.
How to Create a Variable Product Step by Step
Begin with the product structure rather than with prices or stock. First decide which characteristics customers must choose and which combinations should actually be available. This avoids creating unnecessary variations that later require individual corrections.
Choose the Product Type
- Create a new product or edit an existing one in the WooCommerce product editor.
- In the Product data selector, choose Variable product.
- Open the attributes area and add global attributes or attributes created specifically for this product.
- Enter the values for each attribute and mark the relevant attributes as Used for variations.
- Save the attributes so they become available in the Variations section.
The exact appearance of selectors and product controls can depend on the active theme, page builder or extension, so the storefront should be checked after configuration rather than judged only from the editor.
Generate or Add Selected Variations
WooCommerce allows you to generate all possible combinations or add selected variations manually. Generating combinations can be useful when every possible combination should be sold. Manual creation is more appropriate when only certain combinations are intended to be purchasable.
After creating the variations, open them individually and enter the data required for sale. A variation without a regular price does not appear in the store, so pricing is not an optional final detail for a variation that should be visible. Save the product, then publish or update it and inspect the product page.
If attributes are changed after variations have been created, the existing combinations may need to be redefined. Before changing attributes on a live product, create a backup or use a staging environment where possible, then verify the existing variations, prices and stock.
Configure Variation Prices, SKUs and Inventory
Variation-level data allows one product to contain options with different commercial and inventory details. Configure each variation according to what is actually sold and tracked. This is especially important when selected combinations differ in price, image, shipping information or available quantity.
Variation-Level Product Data
Each variation can have its own regular price and optional sale price. Set a regular price for every variation intended for sale; WooCommerce states that a variation without a regular price does not appear in the store. Review the price after saving, particularly if several combinations were generated at once.
Other variation-level fields can include SKU, image, shipping information, tax class and stock settings. These fields should describe the specific combination rather than the product in general. For example, a variation can have its own image or SKU when that information differs from another variation.
Shared, Separate or Mixed Stock
WooCommerce supports inventory management at the parent-product level, at the variation level or through a mixed approach. Variation-level stock tracks quantities separately. This model is suitable when each option has an independently tracked quantity.
Parent-level inventory provides shared stock for variations that use the same physical pool. Variations without their own stock management can use the shared parent-product inventory when that option is enabled. A mixed model combines the two approaches within one product, with separate tracking for some variations and shared inventory for others.
Do not assume that parent-level stock is appropriate for every catalog. Using shared stock for physically distinct variants can produce inaccurate availability if the inventory model is chosen incorrectly. After configuring stock, review representative variations and test the product on the storefront.
Default Variations and Bulk Editing
Default selections and bulk actions can reduce repetitive administration, but both require a final review. Defaults affect the initial customer selection, while bulk actions can change several variation fields at once.
Set and Test Default Attribute Values
Default variation selections can be configured after at least one variation has been created. Choose the default attribute values only when they identify a valid combination. The default must correspond to an existing variation with an appropriate price and available stock according to the product’s inventory setup.
With default form values configured, customers can add the product to the cart without first making a variation selection. Before publishing, test this behavior from the storefront. Confirm that the default combination is valid, priced and available, and that the correct variation is added to the cart.
Use Bulk Actions Carefully
WooCommerce provides variation-level bulk actions for the variations of the current product. Depending on the available editor controls, these actions can set or change regular and sale prices, toggle stock management, set stock quantities and statuses, change low-stock thresholds and edit shipping fields.
Bulk editing is useful when many variations require the same type of change, but it applies broadly to the current product’s variations. After saving, review representative variations rather than assuming that every result is correct. Then test the product page, cart and checkout.
What Happens Above 30 Variations?
WooCommerce documents a different default behavior for front-end variation dropdowns depending on the number of variations. This is an important usability consideration for products with many combinations, but it should not be treated as a universal performance guarantee.
Dynamic and Static Dropdown Behavior
For products with 30 or fewer variations, WooCommerce documents dynamic front-end dropdowns. After a customer chooses one value, later selectors can update the available values to reflect combinations that can be selected.
With more than 30 variations, the default dropdowns become static. They may continue to show attribute values that lead to unavailable combinations. The customer may receive an unavailable-combination message only after selecting the combination. This can make unavailable options less obvious during the selection process.
The documented threshold concerns WooCommerce’s default dynamic dropdown handling. A theme, page builder or extension may alter the interface or selection experience, so test the actual product on the storefront.
Final Pre-Publication Checklist
- Confirm that every combination intended for sale exists as a variation.
- Check that each sellable variation has a regular price.
- Verify that the selected inventory model matches the physical stock structure.
- Review SKUs, images and shipping information where they differ between variations.
- Confirm that default attribute values identify a valid and available variation.
- After bulk edits, inspect representative variations.
- Test available and unavailable combinations, the product page, cart and checkout.
- If attributes were changed, review or redefine affected variations.
WooCommerce variable products are easiest to manage when the catalog structure is decided before the variations are created. Define the attributes, mark the relevant ones as Used for variations, create only the combinations you intend to sell, and complete the data for each variation. Then choose shared, separate or mixed inventory according to how quantities are actually tracked.
Default values and bulk actions can simplify administration, but they should always be followed by storefront and checkout testing. For products above 30 variations, verify the real selector behavior because the documented change applies to WooCommerce’s default handling and may be affected by the active site configuration. Explore our WordPress plugins, WooCommerce extensions, themes and membership plans to find the right tools for your website.