OPEN-DSI / ecommerceng_woosync

WooSync, synchronize Woocommerce and Dolibarr
GNU General Public License v3.0
67 stars 42 forks source link

Different conditions for product synchronisation #91

Open madmaxpt opened 1 year ago

madmaxpt commented 1 year ago

When modifying a product, the trigger browses the categories and sends the product to Woocommerce if it is in a subcategory (https://github.com/OPEN-DSI/ecommerceng_woosync/blob/2022.5.3/core/triggers/interface_90_modECommerceng_ECommerceng.class.php#L383)

But when cleaning orphan products, products that are not directly under the root category are removed (https://github.com/OPEN-DSI/ecommerceng_woosync/blob/2022.5.3/class/data/eCommerceSite.class.php#L94)