- Issue created by @vlooi vlerke
Product variations are ordered in the add to cart form according to the weight set in the product attributes.
E.g A product T-shirt with attributes Small - (weight 1), Medium - (weight 2) and large - (weight 3) will display on the add to cart form as
Small
Medium
Large
If you change the weights to Small - (weight 3), Medium - (weight 2) and large - (weight 1)
It will display in the order
Large
Medium
Small
Lets say you use the order
Small
Medium
Large
and Small is out of stock, then the add to cart button will show "Out of Stock"
This confuse some customers as they think the T-shirt is out of stock in its entirety, but in reality Medium and Large is still in stock
Set the weight order of "out of stock" product attributes to move to the bottom (weight 100)
If Small is out of stock then the order of display would be
Small - (weight 100), Medium - (weight 2) and large - (weight 3)
Display order
Medium
Large
Small
This will then display an "Add to cart" button for the product, rather than an "out of stock" button.
Only when you try to order a Small will you be presented with an "Out of Stock" button.
Active
1.2
Code