I have a product with two options.
For example, let’s say I have 50 bottles in stock with 50 red caps and 50 blue caps. A customer can choose to buy either a bottle with a red cap (variation 1) or a blue cap (variation 2).
If a customer purchases a red capped bottle, the red cap stock goes from 50 to 49, however, the main product stock (the bottle) remains at 50. Is there a way in WooCommerce to also update the bottles stock level from 50 to 49? As I only have 50 bottles in total I want to give customers the choice of either variation but don’t want to oversell, hence me wanting to ensure no more than 50 bottles are sold in total.
Read more here: WooCommerce - Managing stock at product and variation levels