-
Notifications
You must be signed in to change notification settings - Fork 67
After changing the product another language version becomes uncategorized. #441
Comments
After saving product RU, the category is not synchronized on EN language, but changed to the category on RU language. |
this type of behaviour sounds like your category translations are not linked. |
If I create a product in the EN language, the category is synchronized well. |
I cannot reproduce this, if the categories are set up correctly it normally works fine in whichever language you edit the product. either the categories are not linked or some of them do not have language set properly. |
Sorry, I found the reason for this behavior. For example: If I make slug different, example "panties-ru" and "panties", the synchronisation of categories works fine. I understand that the categories are synchronized not by the category ID, but by the slugs? |
yes, copyTerms in meta.php is currently calling wp_set_object_terms with an array of slugs. |
Thank's! And it worked fine! |
…uages synchronise taxonomies by id rather than slug in case the slugs are the same in different languages
Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Yes
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
Yes
What product versions and settings are you using when this issue occurs?
Steps to Reproduce
The text was updated successfully, but these errors were encountered: