Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to see options for color and size for variable products in the English translation of their WooCommerce store, although it was working in the Greek language.

Solution:
First, we recommended the client to ensure they are using the latest versions of WordPress, WPML plugins, WooCommerce, and their theme. We also advised increasing the WP Memory Limit to at least 256 MB and the MaxInputVars to 10000 for better performance.

After further debugging, we found that the translation for attribute terms did not exist in the database. We then provided the following steps:

  1. Translate the attributes to English from Greek at WooCommerce>>WooCommerce Multilingual>>Attributes screen.
  2. Go to WooCommerce>>WooCommerce Multilingual>>Status and click on the *Troubleshooting* link at the bottom of the screen.
  3. Select *Update products count* & *Sync products variations* options, and run the troubleshooting action.
  4. Edit the variable product in the original language and go to Variations.
  5. Expand a variation, change the price to trigger the save button, revert the change, and then save.

We advised the client to perform these steps after a full site backup and to check the product on the frontend to ensure it is synced to the translation.

If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us.

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.

Tagged: 

This topic contains 33 replies, has 3 voices.

Last updated by Bigul 1 year, 5 months ago.

Assisted by: Bigul.

Author Posts
February 7, 2024 at 4:59 pm #15277986

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the feedback. I shared it with our second-tier team. We will get back to you as soon as possible. Please wait.

One request. Please take a full site backup{mandatory} always before upgrading to the latest version of WordPress/plugins/theme or making major changes to the site. It will help us avoid issues like this in the future.

--
Thanks!

Bigul

February 8, 2024 at 1:18 pm #15281365

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

The best workaround for this will be the following. Please try it after a full site backup and let us know your feedback.

1) Visit WooCommerce>>WooCommerce Multilingual>>Attributes screen
2) Translate all the attributes to English from Greek
3) Visit WPML Translation Management
4) Select the Products and translate it automatically as a batch

Please refer to the following article for more details.

https://wpml.org/documentation/automatic-translation/#translating-individual-pages-posts-and-other-content-automatically

hidden link

--
Thanks!

Bigul

February 8, 2024 at 1:31 pm #15281432

ioannisM

Bigul,

sorry but you can't solve my problem. The best solution is to export my products from database and import them again. We lost so much time waiting for a solution that works. At least fix your bugs so that from now on nobody else has the same problem.

February 8, 2024 at 5:14 pm #15282547

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Sorry for the inconvenience you had. Please note, the easy workaround is not possible in this case because the attribute terms are not translated into secondary languages. So products have no variations details in English. We are doing our best to help you. Thank you for your kind understanding.

--
Thanks!

Bigul