jtl-software / connector-woocommerce3

GNU Lesser General Public License v3.0
5 stars 6 forks source link

Product categories are not updated but deleted and recreated with a new slug #11

Closed squareloop1 closed 2 years ago

squareloop1 commented 2 years ago

We've found a new odd behavior when updating product category content:

Instead of updating already existing product categories the category gets recreated or renamed to another slug instead of just updated. So if you have e.g. an existing product category with the slug "product-category" synced earlier by JTL and you update the description text of the product category in JTL and sync it with WooCommerce it will become "product-category-2" which is breaking permalink structure.

paprykasz commented 2 years ago

Hey @squareloop1,

thank you for your feedback. I just tested sync for categories as you described and I cannot reproduce this issue. We do not modify slug on category update unless name or urlPath of category was changed. If problem still occurs please contact our support for more help.

squareloop1 commented 2 years ago

Neither name or url path was changed and it was working fine up until one of the latest versions. Is there anything that could be done to force the connector to keep the existing product category slugs to prevent breaking permalink structure on every sync to the shop?

paprykasz commented 2 years ago

Category slug shouldn't be changed in case there was no change in name or urlPath. Maybe issue is related to your other plugin? Best will be if you can contact our support and provide more info about it.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.