WooCommerce different id code on same product but different stock batch
-
I’m creating a woocommerce store and I have the following problem:
The shop sells wine, each bottle has a product code and a rotation number. The product code always stays the same, but the rotation number will change every time a new batch of stock is bought in.
Is it possible to have, for example…
Merlot: prodId=123 rotationNo=1 inStock=1
Merlot: prodId=123 rotationNo=2 inStock=12
These 2 products should never both be visible in the store. When the first batch (rotationNo=1) is sold out the product should automatically begin selling the second batch.
So if a customer goes to the store and orders 3 bottles of Merlot – 1 should be from rotationNo=1 and 2 should be from rotationNo=2.
Is this possible?
- The topic ‘WooCommerce different id code on same product but different stock batch’ is closed to new replies.