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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 7 months, 2 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
February 7, 2024 at 11:51 am #15276460

isidreC-2

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

February 8, 2024 at 10:59 am #15280727

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

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.

WPML - https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
WCML - https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/

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.