The updateRelationship
chain is executed when called by the handleRelationshipModification
chain.
The following sections describe each processor in the pipeline chain.
handleRelationshipState
Checks to make sure the relationship exists, is a ShippingGroupCommerceItem
relationship, that the shipping group’s state was set to REMOVED, and that the modification was a success. If all these conditions are met, the chain moves to the next processor. Otherwise, chain execution stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
removeShipItemRelationshipFromItem
Deducts the quantity that was to ship in the given shipping group from the commerce item.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |