Home›Support›English Support›[Resolved] Critical issue: WPML variable products not working in secondary languages
[Resolved] Critical issue: WPML variable products not working in secondary languages
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with variable products on your WooCommerce + WPML website, where variation dropdowns are empty or display values in the default language (French) in secondary languages (EN, DE, ES, IT), the issue might be due to incorrect translation settings for the _product_attributes custom field. Solution: We recommend checking the WPML configuration for the custom field settings. Here's how you can resolve this: 1. Navigate to WPML → Settings → Custom XML Configuration tab and update the configuration to:
3. Go to the original product and make a minor change, such as modifying the description (you can revert this change afterward). 4. Update the product to trigger updates to the translation. 5. If the issue persists, try running the troubleshooting settings in WCML again.
If this solution does not resolve your issue or 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 necessary, 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 have a critical issue on my WooCommerce + WPML website affecting variable products.
- In the default language (French), everything works correctly (variations, attributes, dropdowns).
- In secondary languages (EN, DE, ES, IT), variation dropdowns are either empty or display values in French.
Additional details:
- Variations and attributes exist correctly in the database.
- The issue affects many products (not isolated).
- I only noticed it recently, but it may have started earlier.
However, the issue is still present:
• Variations work correctly in the default language (French)
• In secondary languages, the variation dropdowns are still empty or sometimes display the French values
So it seems the issue was partially detected and processed, but not resolved.
Please let me know if you need any additional information.
I’d like to follow up on this issue as it is now critical for my business.
The problem affects many variable products, and customers in secondary languages (EN, DE, ES, IT) cannot select variations, meaning they cannot complete purchases.
This has a direct impact on sales.
Additionally, I am also experiencing another WPML issue on my site which might be related:
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated, if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
Please provide examples of such affected products.
Unfortunately, I cannot log in. I am getting the following instead of the login page:
Il y a eu une erreur critique sur ce site. Veuillez vérifier la boîte de réception de votre e-mail d’administration pour obtenir des instructions. Si vous continuez à avoir des problèmes, essayez le forum de support.
I was also able to reproduce this critical error occasionally on the previous staging environment. In most cases, the page would load correctly after a refresh, but I understand this is not reliable for your testing.
To avoid any issue, I have created a new staging environment which appears to be stable.
Could you please enable the private fields again so I can provide you with the updated access details?
It seems the current staging environment is not accessible correctly. I am also experiencing issues when trying to access it from a fresh session.
To avoid any further issues, I will create a new staging environment and make sure everything is fully accessible before sharing the access details again.
Could you please enable the private reply fields once more so I can provide the new credentials?
Thank you, this significantly improved the situation.
After running the synchronization, the variations are now appearing correctly on almost all products. I tested many products across different categories, and only found a few rare exceptions.
So we can consider the main issue (missing variations) as resolved.
However, there is still an important remaining issue:
Even though the variation terms are translated in WPML (they appear correctly in the translation editor), on the frontend they are still displayed in French in all secondary languages (EN, DE, ES, IT).
So it seems that the translated attribute terms are not being properly applied to the product variations.
Could you please help investigate why the translated terms are not used on the frontend?
Could you please try the following steps as well?
1. Go to WooCommerce → WooCommerce Multilingual → Status and click the Troubleshooting link at the bottom of the page.
2. On the Troubleshooting page, run the relevant troubleshooting options.
If the issue persists, since this involves custom attributes, please try the following:
• Edit the product in the original language
• Make a small change to the description and also to the variations
• Update the product
• Open the translation and complete it again