Home›Support›English Support›[Escalated to WPML Developers team] Low stock products are counted in all languages in the Woocommerce status box
[Escalated to WPML Developers team] Low stock products are counted in all languages in the Woocommerce status box
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
In the admin dashboard (Woocommerce status box), the low stock products are counted in all the languages. For example, the screenshot below shows 36 products out of stock whereas in the reality there are 14 low stock products + translations.
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Woocommerce, Woocommerce Multilingual, WPML Multilingual CMS and WPML String Translation.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
If the issue persists, please see if the workaround below works? (it is for another synching issue with stock status, not exactly yours which is counting both original and translated ones)
Make sure you have a backup before following the steps above.
If the issue still persists, I'd appreciate it if you could replicate the issue on the clean installation below so I can report this to second-tier support.
I installed WordPress, WPML, Woocommerce, and Woocommerce Multilingual and imported some sample products.
I tried on my stage site, no luck and then I went to your sandbox.
I translated sunglasses and set it to low stock (1 pc). The box shows that there are two products low in stock but it is only one item + one translation. Please see the image.