This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where attribute values disappear when editing a WooCommerce product in a secondary language using the WordPress editor. This occurs even if no changes are made to the product and it is simply saved again. Solution: We recommend continuing to use the Advanced Translation Editor (ATE) for editing products. The issue arises because the products were initially translated using ATE, and editing them with the WordPress editor can overwrite the ATE translations. To avoid losing translated content, it is best to maintain the use of ATE for all product updates.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, please visit our support forum to open a new support ticket. We also 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.
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 want to disable the attribute sync for WooCommerce products. When I edit a product in a secondary language using the WordPress editor, all attribute values disappear. I have to go to the troubleshoot page of WPML to reconnect them. I was advised to use the Advanced Translation Editor, but it doesn't allow me to edit everything. We need to assign products to different categories in the secondary language using the WordPress editor.
Symptoms:
Attribute values are gone when editing a product in a secondary language using the WordPress editor.
Questions:
Is there a way to disable the attributes sync completely?
The behavior you are experiencing is the correct and expected one. Product variations need to be synced across languages to keep the site working correctly. If a product variation has a different category, price, or attribute in the secondary language, then it is considered a different product and you should create a separate one.
Please let me know if you need further assistance with this subject or any other related to WPML.
Thanks for the quick answer, but i don't have a problem with product variations. I only have simple products in my shop. The problem is that when i make changes to a product in the default WordPress Editor for a secundary language, all the values of my attributes are gone.
Even if i don't make any changes to the product and just save it again, the values of the attributes are all gone for that product, see screencast: hidden link
Could you tell me how you translated the product in the first place? I suspect that this product was translated using ATE and now you are trying to make modifications to the translated version using the WordPress Editor, which will overwrite the translation made with ATE.
Suppose the products were initially translated with ATE. In that case, this behavior is the expected one, because using a different translation method (in this case WordPress Editor) to edit a translation created with ATE will result in the translation being overwritten.
Could you activate ATE for a moment and test if updating a product translation causes the same issue?
This behavior is expected when first translating the products using ATE. It is recommended that you keep using ATE to avoid losing translated content.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.