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?

  1. Case 1

    1. Create a Product Template with no variants, then add the Quantity. Wrote down the result

  2. Case 2

    1. Create another Product Template with no variant, then add quantity

    2. Then add variants (at least 2),

    3. Then check the previous quantities, where those will be going

    4. STEP 4 (Buying the variant)

    5. Remove the variants, check the previous qty

      1. They are still there

    6. CONCLUSION

      1. A Product Template without a variant is AN ENTITY

      2. A Product Template with a variant IS a DIFFERENT ENTITY from the previous Product Template without a variant

      3. Their (Product with or without variant) quantity is independent

  3. Case 3

    1. Create a Product Template with no variant, then add quantities to it

    2. Sell some of it

    3. Create a Variant, at least 3 (original, variant 1, variant 2)

    4. Return original, some of it,

    5. Return as variant 1

    6. CONCLUSION

      1. 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