Hi Brad,
Thanks for reaching out!
We are unfortunately experiencing problems with our woocommerce inventory randomly being increased by the system. We are unable to identify the trigger or process which is causing this.
Typical scenario:
1. Sell an item that has an inventory of 1 in our store (website).
2. Inventory correctly reduces to zero.
3. Minutes later, inventory increases again by 1 without any intervention / changes to the order / changes to individual product.
What is the status of the one order with this issue? If order status was pending payment
and then changed to cancelled
– this is expected behaviour.
This does not happen consistently. We have had 4 orders today, and this issue has only occurred for one order.
Unfortunately we’re not sure where to start debugging.
Does anybody have some suggestions about how to resolve / troubleshoot this issue?
It’s hard to say what exactly is happening with the current amount of information. Are all plugins up to date? Are you using any stock management plugins?
This kind of problem can be caused by either a conflict with your theme or with another plugin.
?
The best way to determine this is to:
?
- 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.
If this kind of test isn’t possible on your live site – you can create a staging site with WP Staging plugin and test there.