Hello, I want to create an automation to synchronize all attributes. This is because it often happens that these break for translations, and we have to correct it manually when a customer complains
This is de page where I do this job manually, hidden link
I understand what you're looking for. By using the hooks provided by WPML and WCML, you can synchronize fields to meet your needs. It's important to note that our support does not extend to custom coding assistance. However, I will do my best to offer guidance within the bounds of our support capabilities.
The hook "wpml_sync_all_custom_fields" could be particularly useful for your situation. You can set up this hook to activate when products are saved, which will then ensure that all product fields are synchronized upon saving. This might eliminate the need for attribute synchronization. For more detailed information on how to use this hook, please check this link:- https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/#hook-1560761
Please explore the Hook guide for WPML and WooCommerce Multilingual; it may offer a more effective way to accomplish your desired outcome.
If you need assistance with custom coding, you can hire a certified contractor, specializes in customizing WPML and its add-ons from here: https://wpml.org/contractors/
If you have any other queries or concerns, feel free to reach out. I will be happy to assist.
Best regards,
Prosenjit
The topic ‘[Closed] Synchronize attributes automatically.’ is closed to new replies.