The allocateItemRelationship
chain is executed when called by the allocateShippingGroup
chain.
The following sections describe each processor in the pipeline chain.
retrieveItemRelQuantity
This processor gets the quantity of the commerce item in the relationship (or the remaining quantity if the relationship type is SHIPPINGQUANTITYREMAINING), and places it into the pipeline’s parameter map.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
switchOnCommerceItemType
This processor checks for the type of Commerce Item in the relationship. If it is a ConfigurableCommerceItem
, control passes to allocateItemRelQuantityForConfigurableItemChain
. Otherwise, control passes to allocateItemRelQuantityChain
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes the |
allocateItemRelQuantityChain
This processor executes the allocateItemRelQuantity
chain. After execution, execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |
allocateItemRelQuantityForConfigurableItemChain
This processor executes the allocateItemRelQuantityForConfigurableItem
chain. After execution, execution of this chain then stops.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and causes the |