Open madmaxpt opened 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)
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)