Reputation: 1068
I've got a product that I've created that has 3 options available for it.
Now each of these are variations, but at the moment, I've got two variations on the product.
This allows me to change the price for the sizes for all variations.
Now the issue is that I've run out of stock of a particular face, I don't want to remove the variation, but I can't seem to add another variation saying:
and make that out of stock, the first "small, any, any" variation is overwriting this & saying it's in stock.
Is there a way for me to have specific variations out of stock without having to create 170 variations covering all aspects of combinations?
If I run out of blue straps, I'd have to change the stock level of 20 variations!
Upvotes: 0
Views: 774
Reputation: 1068
The answer to this is so simple, i'm surprised it's not documented anywhere else.
For all those who will no doubt find this to be a problem, you're able to set your variations and order them to take priority by simply dragging them to the top of the list for 1st read, and the bottom of the list for last read.
At the top of your variations, put all the products that are out of stock.
Check "Manage Stock" and put the stock to 0 for all these.
Now, lower down your list of variations, put in your global variation (The things you want applying to all the variations you're not setting manually)
Set the prices etc, but don't manage stock on this.
Woocommerce will then use the stock from the first variation, apply that to the product, then set the prices etc for the rest of the variations.
Upvotes: 1
Reputation: 21
Drag all global variations at the bottom of your variations, stock will be accounted for with the options, then the price will be set with the last option
Upvotes: 2