2021年5月4日星期二

Woocommerce products stock and products variations

I have a specific case I would like to submit. Maybe there is a plugin that would fit my need and I hope you can help me to clarify the math here.

I sell 1 product (1 week holiday) with the possibility to take an accomodation or not.

Yet, I created 2 product variations :

  1. -with accomodation (A) (7 slots)

  2. -without accomodation (B) (22 slots if no accomodation is taken)

In total, I got 22 slots available but only 7 with accomodations (so the 7 are part of the 22) I am looking a way to reduce the stock of B when A is purchased.

So I can sell 22 (B) + 0 (B) OR 7 (A) + 15 (B).

I found a plugin to shared same stock quantity through products variations but it is not what I want. Because both don't share the same slots quantity but their total is limited to 22.

I hope I am made myself clear. I am looking for any Woocommerce solutions that can fit to this case. Don't have to use products variations if it is not mandatory.

thank you

https://stackoverflow.com/questions/67391064/woocommerce-products-stock-and-products-variations May 05, 2021 at 03:33AM

没有评论:

发表评论