Skip to content Skip to sidebar

This topic contains 0 reply, has 1 voice.

Last updated by christianS-25 1 year ago.

Assisted by: Bigul.

Author Posts
July 15, 2024 at 3:44 pm #15955443

christianS-25

Background of the issue:
I'm using WooCommerce + WPML + WooCommerce Multilingual and Multi-Currency. I'm creating product attributes programmatically using the wc_create_attribute($args) function, this works as intended.

Symptoms:
After programmatically creating the attributes, they are not showing up under: WPML => Taxonomy translations. I have to manually edit each product attribute, check 'Translatable?' and then hit Save.

Questions:
Is there some hook or another way to make newly created attributes translatable by default?

The topic ‘[Closed] [WCML] Making product attributes translatable programmatically’ is closed to new replies.