Skip Navigation

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, 4 months ago.

Assisted by: Bigul.

Author Posts
January 25, 2024 at 8:45 am #15224889

ioannisM

I am trying to:

Link to a page where the issue can be seen:hidden link

I expected to see: color and size working as they are working in greek language

Instead, I got: no option for both and it is for all variable products

Screenshot 2024-01-25 at 10.41.31 AM.jpg
January 25, 2024 at 4:05 pm #15227265

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

This may be happening because of the older versions of the plugins/theme. So please try the following steps after a full site backup{mandatory} and make sure the bug exists or not.

1) Upgrade to the latest version of WordPress(6.4.2)
2) Upgrade to the latest version of WPML plugins(4.6.9 series)
3) Upgrade to the latest version of WooCommerce
4) Also, make sure you are using the latest version of the Flatsome theme(3.18.3). Clear all types of caches
5) Update the Product(having the issue) in the original language after a minor edit in the content. It will help to refresh the translation settings.
6) Update the translation
7) Visit Settings>>Permalinks, and resave the settings.

I have a request. Please upgrade the following configurations for the better performance of the site.

1) Increase *WP Memory Limit* to *256* MB(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details and contact your system admin/hosting provider to upgrade this configuration.

hidden link

--
Thanks!

Bigul

January 26, 2024 at 12:11 am #15228489

ioannisM

Did all these and nothing happened. Wherever i have variable products i get the attributes only in greek language (default). Variation in english do not appear.

January 26, 2024 at 9:14 am #15229216

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the feedback. This may be related to the following tickets. So please try the workaround suggested there, after a full site backup{mandatroy} and make sure the bug exists or not.

https://wpml.org/forums/topic/syncing-attributes-across-languages/#post-14318905

https://wpml.org/forums/topic/attributes-synchronization-2/#post-13967875

--
Thanks!

Bigul

January 26, 2024 at 12:58 pm #15230237

ioannisM

Sorry but nothing of these works. My website was working fine until the update of multilingual wordpress. Can't anyone check the problem from my backoffice?

January 26, 2024 at 1:12 pm #15230302

ioannisM

I have noticed that the variation that corresponds to the attributes (color, size) in the english language keep the greek language. Previously this was not happening. Maybe the problem comes from this fact.

January 26, 2024 at 4:24 pm #15231189

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Do you have a backup before upgrading the plugins, or did this bug happen before you upgraded?

Please share a couple of screenshots for a better understanding of the following.

I have noticed that the variation that corresponds to the attributes (color, size) in the English language keeps the Greek language. Previously this was not happening

Please fill in the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information-sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

January 28, 2024 at 8:33 am #15233662

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates and login information. Please check the attached images. Somehow the Products Attributes terms are not listing in English now.

Have you made any major changes on the site rather than upgrading the plugins? Does it happen after upgrading to the latest from WPML Multilingual CMS 4.6.7? Please confirm.

Please tries the following troubleshooting steps after a full site backup{mandatory} and make sure the issue is existing or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options of the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

--
Thanks!

Bigul

2024-01-28_13h56_41.png
2024-01-28_13h45_53.png
2024-01-28_13h44_15.png
January 29, 2024 at 9:26 am #15236830

ioannisM

I just upgraded your plugins. Before that everything was working without a problem. I have over 500 products inside and i can't fix them one by one.

January 29, 2024 at 9:28 am #15236835

ioannisM

So far nothing has changed, even with your latest instructions. The problem remains. That's why i asked you to go in my backoffice and check if you can fix it. I have a backup. So there is no risk to have a malfunction.

January 29, 2024 at 12:21 pm #15238074

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. Please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for detailed debugging of the issue on my local server.

--
Thanks!

Bigul

January 29, 2024 at 12:22 pm #15238076

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. Please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for detailed debugging of the issue on my local server.

--
Thanks!

Bigul

January 31, 2024 at 4:57 pm #15250740

ioannisM

Hello, it's been two days since your last response. Have you found out what is the problem?

January 31, 2024 at 5:05 pm #15250766

ioannisM

I thought that you were going to install the duplicator. I did it now since you haven't. I am waiting for your response.

February 1, 2024 at 7:58 am #15253093

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates and permission. We were waiting for your permission to make a copy of the site. I made a copy of the site using Duplicator. We will debug it further locally and get back to you soon. Please wait.

--
Thanks!

Bigul