Passer au contenu Passer à la barre latérale
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Fuseau horaire du support : Europe/Vienna (GMT+02:00)

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par christianS-25 Il y a 1 année et 7 mois.

Assisté par: Bigul.

Auteur Messages
juillet 15, 2024 à 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?

Le sujet '[Fermé] [WCML] Making product attributes translatable programmatically' est fermé aux nouvelles réponses.