WooCommerceConnector icon indicating copy to clipboard operation
WooCommerceConnector copied to clipboard

WooCommerce Description overwrites Short Description on sync

Open ServusNL opened this issue 3 years ago • 1 comments

Hey,

It seems that the WooCommerceConnector overwrites the Short Description in WordPress by the Description. So after sync the information on my webshop changes.

WooCommerceConnector log shows all succes.

Edit (21:25): After looking at my product details in ERPNext, and checking the form settings, it turns out there is no "woocommerce_short_description" field.

Regards, Sander

ServusNL avatar Apr 18 '21 18:04 ServusNL

Hi Sander,

This problem is because the sync module checks the same 3 fields when putting both the description and short description: woocommerce_description, web_long_description (description on website), description (of the item).

I made a quick fix that changes the priority for the short description to: description, web_long_description, woocommerce_description.

This way you can put the long description in woocommerce_description and the short description in the item description field.

Check later to see if the pull request is merged: https://github.com/libracore/WooCommerceConnector/pull/42

FreezeS avatar Jun 13 '21 19:06 FreezeS