Child pages
  • [in-commerce] Multi-order save reserves wrong order items [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

When editing 2 or more Incomplete orders at same, then only 1st order products are reserved in stock.

This happens because we're swapping order ID's (during ord:OnSave event, but actually loaded order object stays unchanged.

Solution

Reset loaded order object, when iterating over several orders.

Related Tasks

MINC-131 - Getting issue details... STATUS