Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with your variable products not synchronizing correctly across languages (NL, EN, DE) in WooCommerce, specifically with the stock status showing incorrectly as 'out of stock' in translations despite being 'in stock' in the default language, it might be due to certain plugins.
Solution:
We found that the WooCommerce Wholesale Prices and WooCommerce Wholesale Prices Premium plugins might be causing this issue. We recommend deactivating these plugins to see if the problem resolves. Additionally, setting the

wwpp_product_wholesale_visibility_filter

custom field to 'Copy' could help. You can adjust this setting in WPML under Settings -> Custom Fields Translation section.

If this solution does not apply to your case, or if it seems outdated, 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 issues persist, please open a new support ticket.

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 23 replies, has 0 voices.

Last updated by Carlos Rojas 3 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
May 16, 2025 at 1:49 pm #17042213

jeffreyB-17

Background of the issue:
I am trying to ensure that my variable products are correctly synchronized across all languages (NL, EN, DE) using WPML and WooCommerce Multilingual. Specifically, I want the stock status to show correctly on all translated versions, without using 'Manage stock' on variation level (we use general stock status only). Link to a page where the issue can be seen: hidden link

Symptoms:
Even though the products are correctly set to 'In stock' in the default language, the English translation keeps showing the message 'This product is currently out of stock and unavailable' on the front-end. The 'Synchronize product stock and status' tool seems to run but always shows 109 remaining products, as if nothing was updated.

Questions:
Why does the English translation show products as out of stock when they are in stock in the default language?
Why does the 'Synchronize product stock and status' tool not update the remaining products count?

May 19, 2025 at 2:35 pm #17048986

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

Please follow these steps:
- Create a database backup of the site
- Go to Woocommerce -> Woocommerce Multilingual & Multicurrency -> Status tab -> Troubleshooting link (bottom right) -> Select all options and click on the 'Start' button
- Wait for the process to finish and double-check if the issue disappeared

Can you tell me the results of the steps described above?
Regards,
Carlos

May 19, 2025 at 2:53 pm #17049204

jeffreyB-17

Like I said, I tried that already. When clicking 'Start' everything starts running. And it even completes fine (it looks like it), but the loading spinner keeps running like forever (see image 2). But when I refresh the page everything is again as it was (109 remaining, see image 1).

Scherm­afbeelding 2025-05-19 om 16.49.37.png
Scherm­afbeelding 2025-05-19 om 16.43.56.png
May 20, 2025 at 7:09 am #17051095

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for your feedback.

I would like to take a closer look at the issue. Please share the access credentials to the site in your next message, which I have set as private.

Confirm you created a full site backup that you can restore if necessary.

May 20, 2025 at 7:20 am #17051127

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for sharing the credentials requested.

There was a problem in the product permalinks that I already fixed, and after running some troubleshooting steps, the seems to have disappeared.

Please double-check if the variable products are now showing correctly in the secondary languages.

May 20, 2025 at 7:23 am #17051136

jeffreyB-17

Hey Carlos,

This product (for example) is still out of stock in the English version: hidden link

So it doesn't seem to work yet.

May 20, 2025 at 7:27 am #17051154

jeffreyB-17

Same for the 'Italian Style 1 Kilo' and 'Light Roast 1 Kilo'. It must be fixed for every possible product ofcourse.

May 20, 2025 at 7:40 am #17051180

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,
Thank you for your message.

I can see the variations shown correctly in hidden link -see attached image-

FireShot Capture 120 - The Classic 1 kilo - RFA - Bartsbeans - [bartsbeans.nl].png
May 20, 2025 at 7:42 am #17051204

jeffreyB-17

That's only when you're logged in. When you're not logged in it's not visible. So it hasn't changed anything yet.

May 20, 2025 at 8:03 am #17051308

Carlos Rojas
WPML Supporter since 03/2017

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

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

Yes, I can see it now.

Please activate a default WordPress theme for a moment and double-check if the product appears in stock.

May 20, 2025 at 8:09 am #17051314

jeffreyB-17

Nope, then it's not visible as well. Still 'Out of stock'.

May 20, 2025 at 8:36 am #17051473

Carlos Rojas
WPML Supporter since 03/2017

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

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

Does the issue persist if you create a new test variable product? I'm starting to suspect that some of the product entries in the database might be corrupted.

May 20, 2025 at 8:58 am #17051526

jeffreyB-17

I don't know, you can test if you want. I want it to be fixed actually because now the site doesn't work properly with your WPML plugin.

May 20, 2025 at 9:05 am #17051586

jeffreyB-17

As you can see, these are the product which are 'Out of Stock':

- The Classic 1 kilo – RFA
- Italian Style 1 Kilo
- Light roast 1 kilo

These ones are visible, not out of stock:

- The Taste 1 kilo
- The Bourbon 1 kilo

So there must be a difference between those. Hope you or someone else of your WPML team can find it.

May 20, 2025 at 9:48 am #17051784

Carlos Rojas
WPML Supporter since 03/2017

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

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

Please share the URL of one of the products that appears in stock on the secondary language.