@reign1 – inventory isn’t typically reduced on a product until an order has been created. If the order has been created, yet the customer doesn’t pay for the order, then the ‘Hold Stock’ setting will take affect.
You can find the ‘Hold Stock’ setting in: WP Dashboard > WooCommerce > Settings > Products > Inventory
You’ll want to set this to 30 to ensure orders that are unpaid for 30 minutes will replace its taken stock.
– Joey
Thread Starter
reign1
(@reign1)
Hi @jricketts4 ,
Problem is it doesn’t work quite as it should. Yes, if the order is not paid in 30 minutes it gets canceled. BUT… The item is not back in stock while it should and this is essential thing here. So is that a bug or am I missing something here?
BR,
Gytis
@reign1 – that’s certainly not the intended behavior. It’s not technically a bug, since it’s not able to be duplicated on a fresh install.
I would suggest checking to see if you have any plugin or theme conflicts.
This kind of problem can usually be determined by doing the following:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
– Joey
Thread Starter
reign1
(@reign1)
Hi @jricketts4 ,
I’m sorry to say but it didn’t work. I’ve switched to Storefront theme and disabled all the plugins apart WooCommerce. Still it ended up with the same result – order is being canceled but the item is not restored (item count is one less then it should be).
Any other suggestions? Thanks.
BR,
Gytis
Thread Starter
reign1
(@reign1)
Hi @jricketts4
Any follow up on this one? Any other ideas or how to troubleshoot this? As mentioned in the last comment testing with Storefront theme and other plugins turned off still reproduced this issue.
BR,
Gytis