Remove a higher quantity from stock according to a variation

i’m gonna sell wine online and i have a little problem,
Let’s contextualise, i have 1 product with 2 variation :

1 Bottle (10$)
1 Box = 6 Bottle (58$)

what I would like to see is that when buying a box, the stock of the main product be reduced by 6, and by 1 if he buy a bottle

If you have any plugin (free or premium) or snippets or help i will be very grateful

Thank you in advance

Read more here:: Remove a higher quantity from stock according to a variation

Leave a Reply

Your email address will not be published. Required fields are marked *