How to manage product variations and stock in WooCommerce


Give each WooCommerce product variation its own SKU, then check how stock levels affect what customers can buy.
Define the product attributes
Use separate attributes for size, material and colour whenever they affect the buying decision. Use consistent labels and create variations only for combinations you actually sell.
List of references
Allocate a separate reference if the stock is followed by variation. Make sure the catalogue and the physical inventory use the same codes.

Testing the breakdown
Simulate a last unit purchased, a variation unavailable and a stock return. Check the appearance of the file and the amount calculated.
Examples of implementation
For a blue t-shirt available in three sizes, assign a separate code to each size if the stock needs to be counted independently. Make a test command in size M and check that only the quantities of that size are changing.
points of attention
A variation absent from the catalog is not equivalent to a variation temporarily broken. Find out how each case appears in the window. A stock reset must concern the right size or color.
Points to check before validating
Each variation has a clear reference, the stock decreems in the right place and the unavailability is readable.
A control on two sizes of the same color
Create a test with a stock M-size blue t-shirt and an exhausted L-sized. After purchasing the last size M, check that the other variations have not been decrected. Then try what the page shows when all the sizes of a color become unavailable.
Approach the variation code, the basket and inventory export. If the statements differ, check what level the stock carries and how returns feed the reference.

OneClick Créations Digitales
Editorial team
The OneClick team helps organisations with digital transformation, combining creative and technical expertise.