• Hey. I have to reorganize all the product attributes in a multilingual store.

    So I’m running a custom PHP script to update the product attributes. All new attributes and their terms are already setup and translated.

    We set the new attributes with <em>wp_set_object_terms</em> and <em>update_post_meta</em>. This works well to set the new attributes in the default language.

    But this new attributes doesn’t get synced to the translation for this product. We have to save each updated default language product trough the editor to sync the attributes to the translation.

    I guess, this cannot be the solution. What do I miss to sync the newly added attributes to the translations?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support Andrés Cifuentes

    (@andrescifuentesr)

    Hello there,

    You can try to select your products and use the Edit option available in the Bulk edit dropdown or use the troubleshooting options in WooCommerce > WooCommerce Multilingual > Status.

    However, we can’t provide you support in this forum as this is a WPML related question and there is a no commercial support policy allowed here on WordPress forums.

    As you are using WPML, please go to our support forum and open a chat there, we have all the required tools to assist you and we will be happy to help you to solve this issue quickly.

    Thank you for your understanding.
    Andrés

Viewing 1 replies (of 1 total)
  • The topic ‘Add Product Attributes with php isn’t syncing to translation.’ is closed to new replies.