[Resolved] ACFML taxonomies set to Copy are not updating
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.
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?
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.
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.
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.
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.
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.
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.
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.
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.