In In-Commerce there are 2 ways of creating the order:
- via Front-End
- via Admin Console
When there is a need to mass-create orders (e.g. during import), then all products are added into 1st created order instead of each order being created with it's own products.
Solution
- in the "ord:OnCompleteOrder" event:
- remove "ord_id" variable from Web Request
- remove order object