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

Last updated by Subash Chandra Poudel 1 year, 9 months ago.

Assisted by: Subash Chandra Poudel.

Author Posts
July 24, 2023 at 5:05 pm #14091671

Alex

To the team at WPML,

We are trying to set up a multi-lingual WooCommerce installation, but are *really* struggling with product attributes.

The site's default language is French, and the attributes that products require have been created "globally", translated and then synchronised, but are showing up as "locked" in English, and the attribute/variation data doesn't seem to be present or indeed, working at all.

We're unsure why this might be and would like some guidance on how to resolve this.

We will very much look forward to your response.

Alex

July 24, 2023 at 7:42 pm #14092407

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi Alex,

Thanks for your contact.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Please follow these steps only after ensuring to have a complete website/database backup:

- go to WPML -> Support -> Troubleshooting, choose products in the first 'Clean up' section field and hit the 'sync post taxonomies' button
- now go to WooCommerce -> WooCommerce Multilingual & Multicurrency -> Status -> Troubleshooting (yourdomain/wp-admin/admin.php?page=wpml-wcml&tab=troubleshooting) - try to sync your variatons/fix translated variations relationships.

Then kindly let us know if it helps or not. Thank you.

Kind regards,
Mateus.

July 24, 2023 at 8:11 pm #14092451

Alex

Hi Mateus,

Firstly, thanks so much for the prompt and comprehensive response, but sadly, carrying out the steps you'd mentioned don't seem to have addressed the issue, and the English versions of the products still seem to have their attributes and variations "locked", sadly!

Any thoughts on what we can try next?

Please do let me know!

Alex

July 25, 2023 at 3:26 pm #14097665

Subash Chandra Poudel

Hi Alex,

It is expected that the Attributes are locked in the secondary languages and are synced automatically from Primary language.

Can you please try the following and see if it helps:

- Go to WooCommerce -> Multilingual & Multicurrency -> Attributes
- Select the attribute that you have issue with.
- Recheck if the Attribute are translated to all languages or not then click on the "Synchronize attributes and update product variations" button there.
- If the issue persist, edit the product with the issue in primary language. Then update it by adding an extra space/character/word in the title or content so as to trigger a translation update.
- Edit the translation again and complete it again.

More details on WooCommerce attribute translations at:

https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies

If the issue persists, I would need to take a closer look at your site. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated.

I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it.

IMPORTANT: Please take a complete backup of the site first to avoid data loss.

✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it in my local machine to test the issue further.

Regards,
Siubash

August 2, 2023 at 2:51 pm #14143527

Alex

Hi Subash,

Yes! Please do make a copy of the site with Duplicator if this would be helpful to you.

Please do let me know how you get on, and if you can find out what's happened with these duplicate Attributes?

Alex

August 3, 2023 at 6:28 am #14145727

Subash Chandra Poudel

Hi Alex,

Thank you for the details.

Upon checking I see that the Attributes of the products are synced between original and translation version fine and they are working all good.

However I also noticed duplicate attributes in English translation. So I did the following and it seems all good now.

- I edited terms for each attribute in English and removed all attributes.
- I then went to WooCommerce -> WooCommerce Multilingual & Multicurrency -> Attributes and translated all attributes.
- I also clicked on the "Synchronize attributes and update product variations" button for each attribute.

Can you please check from your end and confirm if all is good now?

Regards,
Subash

August 3, 2023 at 7:22 am #14146129

Alex

Hi Subash,

Thank you SO much for your help with this ...that's brilliant, and very much appreciated!

It's looking good, but on the English version of the shop page, the WooCommerce product filters we had set up for the three Attributes now seem to be missing! Any ideas why this might be?

The filters are set up here: hidden link

They're present on the French version of the shop here: hidden link

But not on the English version:
hidden link

Please do have a think and let me know what can be done to get them back!

Alex

August 3, 2023 at 7:36 am #14146301

Subash Chandra Poudel

Hi there,

Thank you for confirming the original issue is resolved now.

For the Attribute filter issue, I went to WooCommerce -> Status -> Tools and clicked on the "Regenerate" button for "Regenerate the product attributes lookup table" and the issue seems to be resolved.

Please check and confirm.

Also, to add please note we try to handle only one issue ticket per issue so as to keep better track of issues so if there are other issues that you need help and original issue in this ticket is resolved feel free to mark this ticket as resolved and open a new ticket for other issues.

Regards,
Subash

August 3, 2023 at 7:38 am #14146331

Alex

Thanks SO much for all your help, Subash (and Mateus).

Everything's working brilliantly now!

With best wishes,

Alex