Closed ghost closed 5 years ago
@MathieuSF note that when multiple orders are created in PrestaShop (because products are dispatched in different warehouses), while the order creation is now correctly managed, there is the logic of the UpdateOrders to review.
Only the last order created in prestaShop is linked to a MKP order. Therefore when changing the order state, only the state linked to the MKP order will be sent to ShoppingFlux. This can create issues in some very specific case when the marchand cancel one part of the order (then the state sent to SF might be incomplete). I don't see technical solutions to that without changing the API behavior in SF side.
Expected behaviour
When the advanced stock management is enabled, PrestaShop will apply different set of rules for the management of its orders and products.
Actual behaviour
Steps to reproduce the behaviour
Advanced stock management needs to be enabled. Products needs to be splitted in different warehouses so orders are splitted.