The system watches for a scenario to add an item to an order, or, more specifically, for the scenario to execute an “Add Item to Order” action. You can use the optional parameters within this element to further define the type of order or item to watch for.
For more information on the “Add Item to Order” action element, see Using Commerce Action Elements in Scenarios in this chapter.
Technical note: This element is triggered when the ScenarioManager
receives a ScenarioAddedItemToOrder
message sent by the SendScenarioEvent
processor. To disable the firing of this event, set the PromotionTools.sendEventOnAddItem
property to false; note that the default value is true.
For more information on the SendScenarioEvent
processor, see the sendScenarioEvent Pipeline Chain section in the Commerce Processor Chains chapter in the ATG Commerce Programming Guide.