Product and its variant behaviour
What happens when a Product without variant is changed to have a variant? What will the quantity go? What happens when a Product without a variant is returned as a variant?
Case 1
Create a Product Template with no variants, then add the Quantity. Wrote down the result
Case 2
Create another Product Template with no variant, then add quantity
Then add variants (at least 2),
Then check the previous quantities, where those will be going
STEP 4 (Buying the variant)
Remove the variants, check the previous qty
They are still there
CONCLUSION
A Product Template without a variant is AN ENTITY
A Product Template with a variant IS a DIFFERENT ENTITY from the previous Product Template without a variant
Their (Product with or without variant) quantity is independent
Case 3
Create a Product Template with no variant, then add quantities to it
Sell some of it
Create a Variant, at least 3 (original, variant 1, variant 2)
Return original, some of it,
Return as variant 1
CONCLUSION
We can send a product template without a variant, then return it as original (product with no variant), or as a variant
Case 1


Case 2
Step 1


Step 2 (Add attributes)


The stock DISAPPEARS!

The Move History remains

Step 3 (Remove the attribute)
But when the Attribute is removed, the QTY is back


Step 4 (Buying the variant)




Step 5 (Remove the variant again)



They are still there
Case 3
Step 1

BUY

STOCK

MOVE HISTORY

Step 2

STOCK

MOVES

Step 3
The Product

Stock

Move History

Step 4 (Return original)

The Product

Stock (Product with variant)

Move History

Step 5 (Return as variant 1)

The product

Stock History

Move History

Last updated