Skip Navigation

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 11 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 11 months ago.

Assisted by: Prosenjit Barman.

Author Posts
May 24, 2023 at 8:18 am

ridaB

Hello, in the past i have set a setting to copy the values from attributes to the other languages and in the other languages there is a lock symbol displaying, but now i want to remove the lock because i want to make changes to something specific, but i cant find the setting anymore. I need help with how to remove the lock for variations.

May 24, 2023 at 9:35 am
May 24, 2023 at 9:53 am #13705865

ridaB

I have translated the products and checked if the variations are now copied correctly but they are not copied correctly yet. What else can i do to fix this.

May 25, 2023 at 6:46 am #13712399

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
I hope you're doing well.

I have checked the default and translated versions of the product you shared in the chat and found that the Attribute value and variations are copied correctly from the default version of the product to the translated version. I haven't noticed any issues so far. Kindly check this video(hidden link) for a better understanding.

As the variations are added properly to the Product, they will start showing properly in the Frontend once you add a price for each variation.

But, if you believe that the variations are not synced properly yet, then please follow the steps below and let me know if that helps.

- Go to "WooCommerce > WooCommerce Multilingual > Status" Tab
- Scroll down to the end and you'll see the "Troubleshooting" link. Click on that link.
- On the Troubleshooting page, mark the options mentioned in this screenshot(hidden link) and click on Start.

Make sure to take a backup of the site before running the troubleshooting. This troubleshooting will adjust the variation relationship across the languages and hopefully fix your issue.

But, feel free to let me know if you need any further assistance. I will be happy to assist you.

Best Regards,
Prosenjit

May 25, 2023 at 6:55 am #13712419

ridaB

I see that the dutch variants are correct now and the attributes were already correctly copied, but the variations of the french product are not copied correctly yet. The variations are the main problem that they are not copied and that the attribute value of the variation is empty or not set. Could you look at the french product and see if this is still the case. i have attached an image to see what i mean.

french product variations not correct.png
May 26, 2023 at 4:25 am #13719659

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

Thanks for the instructions. I have checked accordingly and have been able to trace the issue. It seems the issue happened due to not synchronizing the variations. From the "WooCommerce > WooCommerce Multilingual > Attributes" tab, I made sure that the translation for the Attributes are added correctly and then synchronize the Attributes(Screenshot: hidden link)

By doing so, the variations in the French products started to show properly. Please check this screenshot(hidden link) for a better understanding.

If you ever face this issue in the future, then please make sure to synchronize the attributes first and additionally, synchronize the variations from the WCML Troubleshooter page. The steps to synchronize variations from the troubleshooter are mentioned in my previous response(https://wpml.org/forums/topic/lock-icon-on-the-variations/#post-13712399).

Let me know if that helps or if you need any further assistance. I will be happy to help you.

Best Regards,
Prosenjit

May 26, 2023 at 6:41 am #13719901

ridaB

Thanks for the reply. It seems the issue has been resolved now also for the french variations. The solution you mentioned have i already tried in the past but didn't do anything so i'm surprised that it worked now. Was this the only thing you did or did you als do more steps?
If i have the issue again i then know what to do.

May 26, 2023 at 11:18 am #13722769

ridaB

I have checked the other products to see if they are now also correctly copied to different languages, but most of the other products are not correctly copied, only the one you corrected.
Could you check also the other product that are cylinders in all the different languages if the variations and attributes are correctly copied.
If you search for "cylinder" and check all the products with variations and if not correct please correct it if you can, because i can't fix it. Also when i synchronise the product/attributes and variations.

May 29, 2023 at 7:23 am #13729263

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

Hope you're doing well. Sorry for the delay in getting back to you.

I checked as per your instructions and found 67 products in the result for the "Cylinder" keyword. I checked some of them and found that variations are showing correctly in French. I haven't noticed any issues there. Please check this video(hidden link) for a better understanding.

The common thing I noticed in most of the products is there is a pending update for translation. If you're still not seeing the variation correctly for certain products, then please do the followings-

- Make sure that the product is fully translated, No Translation update icon is showing for the product.
- Synchronize the Attribute from "WooCommerce > WooCommerce Multilingual > Attributes" tab(Screenshot: hidden link)
- Synchronize the variation and variation relationship from the "WooCommerce > WooCommerce Multilingual > Status > troubleshooting" page. [Mark the options mentioned here(hidden link) and click on start.]

I hope it will help. Please let me know if you need any further assistance in this mater.

Best Regards,
Prosenjit

May 30, 2023 at 8:24 am #13736867

ridaB

Hello,
I have checked the products and some were not copied yet, so I tried to do the solution you mentioned, but this didn't work.
I have translated the product completely, as shown in the images, or are there more places where i can check if the product is fully translated?
The attributes are synchronized and i have synchronised the relationships.
But this didn't help either.

I have used the product: "Single Acting Hydraulic Cylinder Standard (several variants)" as example, so maybe you can find with this product what is going wrong.

variations_not_copied.png
synchronizing.png
fully_translated.png
May 31, 2023 at 9:52 am #13745215

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

Thanks for sharing the product where the issue persists. After thoroughly checking the product, I found something interesting.

The Attributes that have been added to the specific product are custom Attributes, and the variations have been generated based on the values of these custom Attributes. It is indeed possible to translate the custom Attribute values using WPML and correctly display the variations in other languages.

But during the investigation, I found that the custom values are somehow been deselected from the variation in default languages. Upon selecting the values, saving the product, and updating the translation, the variation starts to show properly in other languages. Kindly check this video(hidden link) for a better understanding.

It is possible that the Attribute value was modified at some point, but it was not subsequently selected for the variation or the variations were not saved properly. This could be the possible reason behind the problem.

If you notice the same issue in other products, first of all, make sure that the variation is added correctly in the default language. After that, save the variation and the product and then update the Translation. I hope it will help.

Let me know if that helps or if you need further assistance in this matter. I will be happy to assist you.

Best Regards,
Prosenjit

June 1, 2023 at 2:24 pm #13755393

ridaB

Hello, thank you for your answer, this has indeed helped me with the attributes not synchronizing correctly. Those are not correct, but now only the SKU numbers are not synching correctly in the other languages.
I have tried it with the same method as the attributes but that didn't work.

It is only for now for the product: "Single Acting Hydraulic Cylinder Standard (several variants)"
hidden link

The SKU numbers in English are correct but in the other languages the inputs are blank.

June 2, 2023 at 2:01 pm #13761939

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

Glad to hear that the solution for Syncing variation helped. 🙂

Regarding the issue with syncing SKU value, upon checking I found that the translation preference for the SKU field was set to "Don't Translate". I changed the preference to "Copy" from "WPML > Settings > Custom Field Translation" and that fixed the issue. Kindly check this screenshot(hidden link) for a better understanding.

Kindly add the SKU for the original product first and save the changes. After that, update the translation to see the SKU value on the products in other languages.

Please let me know if there is anything else you need help with. I will be happy to help you.

Best Regards,
Prosenjit