WooCommerce Attribute Variations Accounting For More Than One Stock Level
-
Hello,
We run a Tours company, and we are using WooCommerce on our WordPress site.
Under each product, we can have up to 4 Attributes (for 4 different price ranges):
Adult
Adult Concession
Children / Teens
Family (2 Adults + 2 Children / Teens)We have limited places on each of our tours, lets just say 25 places for example. Each of the Price Ranges (Attributes) above, need to account for different stock levels when being added to the cart and checking out.
Each of the first three (Adult, Adult Concession and Children/Teens) need to remove one place from the total stock level for each quantity the user chooses. The Family rate, however, needs to remove four places from the total stock level for each quantity the user chooses.
So if someone books for 2 Adults, it will remove 2 places from the 25 (as per the example above). It does this quite fine.
If someone books for 1 Adult and 1 Adult Concession, it will remove 2 places from the 25 (as per the example above). It does this quite fine.
But, if someone books for 1 Family, it only remove 1 place from the stock quantity of 25 (as per the example above). I needs it to remove 4 places from the stock quantity.
Currently this throws my stock quantities out if someone books for a Family, as the product doesnt account for the other 3 tickets for the Family Rate.
How can I achieve this?
Many thanks in advance for any help anyone can offer.
Thank you,
Rick
- The topic ‘WooCommerce Attribute Variations Accounting For More Than One Stock Level’ is closed to new replies.