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.
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?
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
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).
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.