Home›Support›English Support›[Resolved] Stock Quantities Not Syncing Properly Across Translations – Causing Incorrect "Out of Stock" Beh...
[Resolved] Stock Quantities Not Syncing Properly Across Translations – Causing Incorrect "Out of Stock" Beh...
This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing issues with product stock synchronization across translations in your WooCommerce + WPML setup. Specifically, when you edit a product in the default language (Estonian) and set the stock to a certain number, the translated versions (e.g., Lithuanian) do not reflect the correct stock values. This results in incorrect stock displays and the 'Add to Cart' button being disabled, even though the product appears on shop and category pages. Solution: First, ensure that your cache is not outdated and that there are no corrupted product entries in your database. We recommend following the WooCommerce Multilingual troubleshooting steps as outlined in this documentation. If the problem persists, consider setting up a staging site using the WP Staging plugin to replicate the issue in a controlled environment. This will help in conducting further tests to identify if there is a conflict between WPML, WooCommerce, and the Woodmart theme.
Please note that the solution provided might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue still exists, please open a new support ticket at WPML support forum for further assistance.
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.
I’m having a serious issue with product stock synchronization across translations in my WooCommerce + WPML setup.
Here’s the problem:
I edit a product in the default language (Estonian), and the stock is correctly set to 2 units.
However, in other languages (e.g. Lithuanian), the same product shows only 1 unit in stock, or sometimes even 0 units.
In some cases, even though the original product is out of stock (0 units), the translated versions still appear in the shop and category pages, but cannot be added to the cart. This creates a confusing experience for customers.
The translations are done manually (not automatically).
Stock management is enabled.
I’ve tried syncing custom fields like woodmart_total_stock_quantity (set to "Copy"), but it didn't help.
Can you help me understand why the translated products do not reflect the correct stock values?
How can I make sure stock status and quantity are fully synchronized across all translations?
Thank you for your support.
Symptoms:
In other languages (e.g., Lithuanian), the same product shows only 1 unit in stock, or sometimes even 0 units. In some cases, even though the original product is out of stock (0 units), the translated versions still appear in the shop and category pages, but cannot be added to the cart.
Questions:
Can you help me understand why the translated products do not reflect the correct stock values?
How can I make sure stock status and quantity are fully synchronized across all translations?
Hi there,
Thank you very much for your detailed explanation.
I don't have enough information to confirm this is an issue between WPML, WooCommerce, and the Woodmart theme yet.
In order to run more tests on the site, I kindly ask you to create a staging site (you can use WP Staging plugin for free) with a copy of the production site and share the access credentials in your next message, which I have set private. This way, I will be able to reproduce the issue and run further tests.
Also, please share the URL of a product where the issue can be seen.