Child pages
  • [in-commerce] Order original fields non populated during split [5.2.1]
Skip to end of metadata
Go to start of metadata

During checkout it's possible to indicate, that products that aren't available in stock right now should be shipped when they arrive at stock. In that case single order used have created will be split in 2 orders:

  • order, that can be shipped right now
  • order, that can be shipped when all items will be available

Unfortunately the split procedure doesn't populate original fields for splitted order, which cases any custom code in the "ord:OnBeforeItemCreate" event to think that all values were changed.

Solution

Set original fields at same time, when order fields are set.

Related Tasks

MINC-122 - Getting issue details... STATUS