Skip Navigation

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

Problem:
You have an ACF Taxonomy field on a WooCommerce attribute set to Copy, expecting the settings in the original language to automatically apply to the secondary language. However, the fields are editable in the secondary language but are not updating or taking the value of the primary language, leaving all secondary language taxonomy radio lists empty.
Solution:
We have identified that the taxonomy field requires you to click the update button twice for the changes to reflect correctly in the secondary language. We have documented this issue in our errata. For a temporary workaround, please follow this step:
1. After making changes in the primary language, save and then click the update button again.
For more details, refer to our errata here: https://wpml.org/errata/taxonomy-custom-field-metadata-set-to-copy-requires-double-save-for-updates-to-reflect/

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, please feel free to open a new support ticket for further assistance at our support forum.

0% of people find this useful.

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

Last updated by Bigul 1 month, 2 weeks ago.

Assisted by: Bigul.

Author Posts
October 31, 2024 at 3:01 pm #16352412

frederickC

Background of the issue:
I have an ACF Taxonomy field on a WooCommerce attribute set to Copy. I expected the settings in the original language to automatically apply to the secondary language.

Symptoms:
The fields are editable in the secondary language but are not updating or taking the value of the primary language. All secondary language taxonomy radio lists are empty.

Questions:
Why are the secondary language taxonomy fields not updating with the primary language values?
How can I ensure the taxonomy settings are copied correctly to the secondary language?

November 1, 2024 at 3:03 pm #16355322

Bigul
Supporter

Languages: English (English )

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

Hello,

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

We hope you have set the translation preference for the ACF Taxonomy field from the WPML>>Settings>>Custom Term Meta Translation section.

If the issue exists, we have a couple of requests to track the problem.

1) Please fill out 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

2) Please let us know the exact steps to replicate the issue on your site.

--
Thanks!

Bigul

November 4, 2024 at 4:58 pm #16362535

Bigul
Supporter

Languages: English (English )

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

Hi Fred,

Thank you for the login information. Please check the attached images. Now the *Product Marque de papier (pa_marques_papier)* Taxonomy is set as *Translatable use translation if available or fallback to default language* and its terms are translated to English.

Therefore its ID will be different in English. Please set *Product Marque de papier (pa_marques_papier)* Taxonomy as *Not translatable* after a site backup and save the changes. Then make sure you are getting the expected results or not.

--
Thanks!

Bigul

2024-11-04_22h21_18.png
2024-11-04_22h19_56.png
November 4, 2024 at 5:46 pm #16362815

frederickC

Hi, thanks for your answer. Unfortunately, I have two issues with this :
- I need "pa_marques_papier" to be translatable, as the content in it's description need to to in both languages
- Even if I did set it to *Not translatable*, the problem remains.

November 5, 2024 at 1:06 pm #16366854

Bigul
Supporter

Languages: English (English )

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

Hi Fred,

Thank you for the updates. Please choose the *Translate* option for the *papiers_marque* field (of Paramètres papiers Field Group).

Then check you can choose the Color option from the secondary language term (from the following one).

hidden link

--
Thanks!

Bigul

November 5, 2024 at 3:41 pm #16367935

frederickC

Hi, thanks for the feedback. But that means I'll have to choose the option again for every translation, hence why I chose "Copy". I'd rather not have to do it separately for each language as there are a lot of terms.

November 5, 2024 at 4:34 pm #16368206

Bigul
Supporter

Languages: English (English )

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

Hi Fred,

Thank you for the updates. This requires further checking and escalation. So can you please try to reproduce the issue in a test site on our sandbox server? It will help to speed up the process and we can forward the ticket directly to our developers.

Please click this URL to access the sandbox site dashboard - hidden link

Please configure WPML and WooCommerce like your live site. Then install ACF and ACFML.

After that create a couple of Product Attributes and make sure the issue exists or not.

--
Thanks!

Bigul

November 5, 2024 at 5:32 pm #16368631

frederickC

Hi.

Yes the problem remains. When I update an attribute in original language :

hidden link

The radio button "Marque de papier" (meta key : papiers_marque) does not update automatically, even though it is set to Copy (it also doesn't save if I change the value manually) :

hidden link

Maybe it comes from the fact that the content in the radio (terms) field is translated (again, I need it to be) so the ID's don't match, but I would expect it to work since the translations are linked.

November 6, 2024 at 10:04 am #16370892

Bigul
Supporter

Languages: English (English )

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

Hi Fred,

Thank you very much for recreating the issue in the sandbox site. I have shared the details with our team. We will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

November 12, 2024 at 11:38 am #16392411

Bigul
Supporter

Languages: English (English )

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

Hi Fred,

The taxonomy field is copied when we click the update button twice. So we have released an errata for this issue. Refer to the following article and attached images for more details.

https://wpml.org/errata/taxonomy-custom-field-metadata-set-to-copy-requires-double-save-for-updates-to-reflect/

Please try this workaround for now and let us know your feedback.

--
Thanks!

Bigul

2024-11-12_17h07_28.png
2024-11-12_17h06_52.png