Add Product Attributes with php isn’t syncing to translation.
-
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
- The topic ‘Add Product Attributes with php isn’t syncing to translation.’ is closed to new replies.