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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 0 replies, has 1 voice.

Last updated by Osama Mersal 2 days, 19 hours ago.

Assisted by: Osama Mersal.

Author Posts
January 31, 2025 at 6:57 am

leonardT-5

Background of the issue:
I am trying to translate products on my WooCommerce site, hidden link, using WPML. I have been able to translate products, but the meta data of the original products and their variations doesn't seem to get copied to the translated products. I have tried running the wpml_sync_all_custom_fields hook in my functions.php, but that doesn't seem to work.

Symptoms:
Product and variation meta data is not being copied to translated products in WooCommerce.

Questions:
Why isn't the meta data of original products and their variations being copied to translated products?
How can I ensure that the wpml_sync_all_custom_fields hook works correctly?

January 31, 2025 at 7:38 am
January 31, 2025 at 1:00 pm #16655591

leonardT-5

Hi, Is this still being looked into ?

February 5, 2025 at 2:40 pm #16671560

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

1) I tried to check the issue, but when visiting Products-> All Products, I saw a fatal error.

2) Would it be possible to replicate the issue on a fresh installation with only WPML and WooCommerce installed?

If yes, please let me know, and I'll share a sandbox site with you to replicate the issue so we can check it and escalate it if needed.

Best regards,
Osama