Home›Support›English Support›[Resolved] woocommerce - variation swatches not working on another language
[Resolved] woocommerce - variation swatches not working on another language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is facing an issue where product variations are not displaying on the English version of a WooCommerce product page, although they work on the French version. Solution: We have identified that the feature the client is using is not multilingual-ready. As a temporary workaround, we recommend manually editing the translation by visiting the translated product on the front end and clicking on "Edit Product". Here, you should only adjust the swatches and avoid changing other settings. Additionally, we suggest contacting the plugin author to explain the situation and checking for WPML-compatible plugins that offer similar functionality. You can find a list of compatible plugins here: WPML-compatible plugins.
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 the problem persists, 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 use variation products on my WooCommerce site, specifically for a product page in English. The site is hidden link, and the product page in question is hidden link. The variations work on the French version of the site but not on the English version.
Symptoms:
The variations are not showing up on the English product page, making it impossible to order.
Questions:
Why are the product variations not showing up on the English version of the product page?
I suspect this issue is not exclusive to your website, but might be a broader multilingual compatibility issue with the plugin involved to create the thumbnails for variation selection. To confirm that, I've created a fresh install of WPML and WooCommerce Multilingual in a testing website. You can access it here:
hidden link
Please install the plugin responsible for the image thumbnails of variations in the testing website, create a product and translate it. Let me know your results, when you're done. I know this takes some effort, so thanks in advance for the cooperation 🙂
Hey there, thank you. Is there any additional step necessary, so the thumbnails show? Both on the sandbox, and on your website, I couldn't get the thumbnails to show.
Please clarify, so I can continue with the test. You can check the product I created on the Sandbox here: hidden link
Thank you so much for sharing. I've thoroughly checked the feature in isolation, and unfortunately it's not multilingual-ready. I couldn't find any possible setting to copy the swatches automatically when WPML is created.
As a workaround, you can manually edit the translation, by visiting the translated product on the front end, and clicking on "Edit Product". You can then manually set the swatches. Please note that directly editing translations like this is not recommended, so please don't change any other setting, just the swatches.
You can also reach out to the plugin author and explain the situation. You can also check for WPML-compatible plugins that do the same thing:
It's actually not possible, and not recommended, to edit the translation's variations directly in the Product Editor. As I said: Please note that directly editing translations like this is not recommended, so please don't change any other setting, just the swatches.
The only option you should change is the swatches, after creating the translation normally, using the WPML Editor.