This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported that product attributes and variations were not displaying in the English language version of their WooCommerce site, despite tags being fixed when editing the main language version. Solution: We acknowledged the issue as a known bug and provided a code adjustment to resolve it. The client needs to modify the code in
We advised the client to ensure they have a backup before making these changes. If this solution does not resolve the issue or seems irrelevant due to updates or different circumstances, we recommend checking related known issues, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed. If further assistance is needed, 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.
The tags now stay when I edit the main language version. So this is now fixed. Now the other issue needs to be fixed where the product attributes and variations are not showing at the EN language.
- Please backup the site files and database before providing us access.
- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.
thanks, I checked and found out you or somebody else changed the default translation setting for product type, and your attribute from WPML > Settings.
That should not be done, as it can cause issue. Usually these settings are locked and need to be unlocked to be changed, so somebody did this on purpose.
I have set product_type as not translatable and pa_type-quiz as translatable.
Now you need to go to WPML > Taxonomy translation and translate attributes.
- hidden link
After that make a small change to default language, save, and re-translate and it should work fine.
I followed your steps earlier but when I check the code they say they are out of stock? However no stock is being kept for being these products (Or well thats what I see in the code that it adds a class for out of stock. Could you troubleshoot with me for these products too. Because all of these still need to be getting the product options added, but result in not being able to be ordered once added the way you explained.
I do not know if you have tried to re-translate, but that should have fixed, since variation were not created in 2nd language the first time the product was translated, since attributes were not translated correctly.
Anyway, I have now run sync tool from WPML > Troubleshooting and it works fine.
So... this removed the product tag on the english variation. I re-added the product tag for the different page template.. .and this makes the product variation not work. The culprit lies in the adding the product tag... how can we circumvent this? So it uses the other product page template from elementor with that tag... but still remains working on the product options.
I switched the method, but it still doesn't work. I assume I'm still doing something wrong. Could you please take a look at the following product where I changed the editor method.
I've added the fix. But after sync through the WooCommerce Multilanguage functions, it still doesn't work properly. Am I missing something here or doing it wrong?
There's a back-up available so you're allowed to try to change it yourself If I did it wrong.
Could you please look at it again?
Because the product variations stay unavailable for me.
Sort of greyed out (The HTML says they're out of stock) but we're not even keeping any stock for the products.