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 2, 2024 at 9:44 am #15258304

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

The bug is existing after the initial troubleshooting steps. So consulting with our team for the expert opinion. We will get back to you as early as possible. Please wait.

--
Thanks!

Bigul

February 2, 2024 at 9:46 am #15258323

ioannisM

I can’t do anything else. I ll keep waiting.

February 5, 2024 at 9:39 am #15264974

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

For your kind updates, our second-tier team is working on this bug. However, the problem remains after the primary debugging procedures.

Please check the attached images. The Product attributes are showing as mixed in the backend. It will not happen by upgrading a plugin or theme. So we would like to know the following for tracking this bug. It will help us a lot in debugging. Thank you for your kind understanding.

1) Have you made any other changes in the site recently like migration from one server to another?

2) Did you have a backup before upgrading the plugins, or did this bug happen before you upgraded?

--
Thanks!

Bigul

2024-02-02_22h21_46.png
2024-02-02_22h22_48.png
2024-02-02_22h23_24.png
February 5, 2024 at 10:00 am #15265196

ioannisM

Listen. This is not my first time that i have created an e-commerce website. I don't know when this happened but this website was working. If your plugin destroyed the taxonomy, i can't know how this happened. If you can't fix it just tell me to find another way. We are here for 10 days and the website is mallfunctioning.

February 5, 2024 at 11:09 am #15265562

Sumit
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi,

I am Sumit from 2nd tier support.

I am sorry for the trouble caused.
As per my initial debugging, the database has been messed up causing this issue. Now the question is how this happened so as you said it happened after the update we would like to replicate this bug.

To do this we just need an old backup (just DB is enough) where it was working then we will upgrade WPML and WCML.
If this happened due to our updates we will patch the DB manually.

i can't know how this happened.

Sorry for the misunderstanding we are not asking for any technical details or reason for the issue. We are just asking old backup where it is working. It is not necessary to be exactly before the update it could be a couple of months or 1 year old too.

If you don't have any backup please let us know we will check what can be done.

Thanks

February 5, 2024 at 11:24 am #15265610

ioannisM

My hosting keeps backup for 30 days. So I don't have an older backup. The last backup I have is on 15th of January, which I don't believe will help. The problem I have is only on size and color attributes. The other translations are ok.

February 5, 2024 at 4:24 pm #15267311

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. I've forwarded them to our second-tier team for further investigation. We will get back to you as soon as possible. We appreciate your patience.

--
Thanks!

Bigul

February 7, 2024 at 10:58 am #15276132

ioannisM

Hello,

i haven't got any feedback yet. Have you managed to solve the problem?

Thanks

February 7, 2024 at 1:02 pm #15276686

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

We conducted detailed debugging on this. The translation for attribute terms does not exist in the database. However, we are now achieving the expected results after following these steps.

1) Visit WooCommerce>>WooCommerce Multilingual>>Attributes screen
2) Translate the attributes to English from Greek
3) Visit WooCommerce>>WooCommerce Multilingual>>Status, a click on *Troubleshooting* link(on the bottom of the screen)
4) Select *Update products count* & *Sync products variations* options, and run the troubleshooting action. Wait until the process is complete.
5) Go to the Products>>All Products in the original language and open variable product for editing
6) Go to Variations, click on a variation and expand it
7) Change the price to something else(This is only to enable the button save changes to appear and no actual change or saving is necessary at this point)
8) Change it back
9) Press the *Save changes* button
10) Visit the product in frontend, and check now it is synced to the translation

Please try it after a full site backup and let us know your feedback.

--
Thanks!

Bigul

image.png
February 7, 2024 at 2:32 pm #15277122

ioannisM

Hello again.

In this way i have to make it for every product one by one. This is not easy to update every product one by one for every attribute.

February 7, 2024 at 2:36 pm #15277169

ioannisM

For example if you go to T-shirts, although i have followed your instructions i don't have the translations. Sorry but this is not a solution.

hidden link

February 7, 2024 at 2:47 pm #15277204

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Please check this product -
hidden link

That product shows the expected results for the attribute terms in English after I followed steps 5-10 for it.

Please verify it and let us know your feedback.

--
Thanks!

Bigul

February 7, 2024 at 2:51 pm #15277211
ioannisM

The problems are 3. At first it doesn't translate the term "ΜΕΓΕΘΟΣ" which corresponds to size. At second it doesn't tranlate all sizes, XXL is missing. I have 5 sizes (S,M,L,XL,XXL). At third it only applies to one product. So even if it works, I will have to do this procedure for all my variable products.

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/the-attribute-name-is-not-translating/

February 7, 2024 at 4:42 pm #15277866

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. I have shared your feedback about the workaround with our team.

Please check the attached images. The following product does not have the variation for XXL. That is why it is not showing.

hidden link

Please note, that I have opened a new ticket for the Attribute name translation. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Please wait. Thank you for your understanding.

--
Thanks!

Bigul

2024-02-07_22h07_42.png
2024-02-07_22h05_24.png
February 7, 2024 at 4:50 pm #15277913

ioannisM

The problem remain in other products. There should be an easier way to update the products. I have many variable products with many different attributes. I can't do it one by one. If you can't do it just tell me to find another way. But the point is that i have some other websites with this plugin and i am afraid to update it, because i don't want to have the same problem.