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?