WooCommerce 0.00 subscription not reducing stock
-
Community garden with rental beds (multisite).
- only one per item
- sold on a subscription basis
- reorder synced to May 1, annually
- name your own price, min $40.00/yr
- 0.00 on signup
If you sign up, the order is created as expected but stock is not reduced. Looking at the order comments I can see that there is a note added that reads: “stock levels reduced: 1 -> 1”
My hunch was that this was related to one of the following:
- 0.00 item price
- subscription sync to a future date
After troubleshooting I have been able to conclude the following:
- 0.00 signup + subscription sync: order status is moved directly to complete, stock is not reduced (1 -> 1)
- 1.00 signup + subscription sync: order status is moved to processing, stock is reduced (1 -> 0)
Is this the expected functionality? Intuitively, I feel that stock should be reduced on the completion of an order even if the cost is 0.00 but I am unsure if this is a fringe case. Can any one confirm if this is as expected? And, if so, do you think it is a good idea to build out a MU plugin or snippet to alter this so stock is reduced on subscription when the initial order is 0.00?
- The topic ‘WooCommerce 0.00 subscription not reducing stock’ is closed to new replies.