Saltar al contenido Saltar a la barra lateral
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 -

Zona horaria del soporte: Europe/Vienna (GMT+02:00)

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por christianS-25 hace 1 año, 7 meses.

Asistido por: Bigul.

Autor Publicaciones
julio 15, 2024 a las 15:44 #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?

El tema '[Cerrado] [WCML] Making product attributes translatable programmatically' está cerrado a nuevas respuestas.