Child pages
  • [in-commerce] Event gots overwritten during backorders fulfill process [5.2.1]
Skip to end of metadata
Go to start of metadata

The ProductsEventHandler::FullfillBackOrders method automatically fulfills backorders, when product is added to the stock. Internally it calls 2 events, but unfortunately uses variable $event in both cases, which results in 2nd event result being stored as 1st event result.

Solution

Use separate variables for event tracking in mentioned method.

Related Tasks

MINC-121 - Getting issue details... STATUS