Skip to content Skip to sidebar

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.

This topic contains 3 replies, has 0 voices.

Last updated by Carlos Rojas 4 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
July 29, 2025 at 8:34 pm #17280301

faridi-3

Background of the issue:
Hello,

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?

July 31, 2025 at 8:09 am #17284009

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

With the available information, it is impossible to know the cause of this issue, although it generally happens due to outdated cache memory or corrupted product entries in the database. In any case, I kindly ask you to sync the product using the Woocommerce Multilingual troubleshooting steps as described in this link: https://wpml.org/documentation/support/wpml-troubleshooting-options/#troubleshooting-woocommerce-multilingual-and-multicurrency

Please let me know if the issue has disappeared after running the steps described above.
Regards,
Carlos

July 31, 2025 at 12:12 pm #17284917

faridi-3

Hello Carlos,

Thank you for your reply.

I have followed all the troubleshooting steps in the link you provided, but the issue still exists.

This problem occurs on both of my websites, and both are using the Woodmart theme.

Let me explain the issue more clearly:

When I edit a product in the default language (Estonian) and set the stock to for example 2 items, it is correctly shown in the default language.

However, in the translated versions (e.g. Lithuanian), the stock does not sync properly. Sometimes it shows as 0, or 1, or inconsistent numbers.

In translated languages, even when the product is technically in stock, the “Add to Cart” button is disabled and the product cannot be purchased.

Despite this, the product is still visible on the shop and category pages, which is confusing to customers.

So, in summary:

Product appears in the translated shop and category pages

But cannot be added to cart due to incorrect stock status in the translation

All products are translated manually using WPML's standard translation methods.

Could this be a conflict between WPML, WooCommerce, and the Woodmart theme?

Thank you for your assistance.

July 31, 2025 at 12:36 pm #17285007

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

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.

Looking forward to your message.