[Resolved] Product variations are not showing in other languages
This thread is resolved. Here is a description of the problem and solution.
Problem:
The problem is that for some (but not all) variable products, the French version doesn't show the entire drop down for the variations. For example it only shows "Choisir une option" but doesn't show "Kit de Demarrage", "Kit de Recharge" etc as options/variations to choose from. (see screenshots)
Solution:
The last tip did the trick. In WooCommerce -> WCML -> Status -> Troubleshooting I selected "Sync variables products -> Sync products variations" and now everything shows up as it should. I'll keep it in mind for the future.
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 an woocommerce shop in English and need to translate the products to French. I used the WPML advanced translation editor for this. Most of my products have variations.
The problem is that for some (but not all) variable products, the French version doesn't show the entire drop down for the variations. For example it only shows "Choisir une option" but doesn't show "Kit de Demarrage", "Kit de Recharge" etc as options/variations to choose from. (see screenshots)
I have created these variations for the original product in english by adding a new attribute directly in the woocommerce product page, "Visible on the product page" and "Used for variations" were checked and then I filled out the info in the variations tab. Of course, in the French version of this woocommerce product page, the fields are locked because I set it to be translated with WPML, I can see that they exist though.
In the side by side translation overview in the WPML advanced translation editor I see that "wc_attribute_name:format", and "wc_attribute_value:0:format" and more have been translated.
It seems like everything has been translated as it should be, but for some reason it just doesn't show up. How do I make all the variations show on the French front end?
(Please note that we won't make the French translations visible to our customers until this problem is resolved. That's why I'll share screen shots from the admin view.)
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks for your contact!
Let's try some possible solutions for this issue. First, by looking at your debug info, it is possible to see that you're using an outdated version for WPML. Could you please try to update it? Just go to Pluginss -> Add New -> Commerical tab, or download the latest WPML from here: https://wpml.org/account/downloads/, and upload it directly to your Add New - Plugins page.
Please ensure to have a backup before trying it. If the problem remains, then follow these steps:
- Just to be safe, agin make sure to have a website backup before proceeding
- Go to WPML -> Support in your admin dashboard
- Click the “troubleshooting” link bellow the plugin versions list
- Look for the “Clean up” section and hit these buttons:
# Select 'products' in the first field and hit the 'sync post taxonomies' button
# Clear the cache in WPML
# Remove ghost entries from the translation tables
# Fix element_type collation
# Synchronize local job ids with ATE jobs
# Synchronize translators and translation managers with ATE
# Set language information
# Fix post type assignment for translations
Now go to WPML -> Taxonomy translation -> Attributes - Select one of them, and check if you will find another 'sync' button at the bottom of the page. You can also sync variations by going to WooCommerce -> WCML -> Status -> Troubleshooting (it should have one more 'sync variations' button there).
Please try out these possible solutions and let us know how you go with them. Thank you.
The last tip did the trick. In WooCommerce -> WCML -> Status -> Troubleshooting I selected "Sync variables products -> Sync products variations" and now everything shows up as it should. I'll keep it in mind for the future.