The messages described in this section are used during order-related changes.
atg.commerce.gifts.GiftPurchased
The GiftPurchased message is sent out when a gift is purchased off of a gift list.
Base type: CommerceMessageImpl
JMS type: atg.commerce.gifts.GiftPurchased
Source
The ProcSendGiftPurchasedMessage processor is part of the processOrder pipeline chain.
Properties
itemorderoriginalIdoriginalSourceparentSessionIdprofilesessionIdsiteIdsourceIdtypeuserId
atg.commerce.inventory.InventoryThresholdReached
The InventoryThresholdReached message is sent out when the inventory for a particular item dips below some threshold.
JMS type: atg.commerce.inventory.InventoryThresholdReached
Source
The RepositoryInventoryManager sends this message whenever an inventory level is decremented below its corresponding threshold.
Properties
typeidinventoryIdlevelPropertyNamethresholdPropertyNamecurrentValuethresholdValue
atg.commerce.order.ItemAddedToOrder
The ItemAddedToOrder message is sent out when an item was added to an order either before or after checkout.
Base type: ScenarioEvent
JMS type: atg.commerce.order.ItemAddedToOrder
Source
CartModifierFormHandler and Web services.
Properties
idordercatalogRefproductcommerceItemquantityquantityWithFractionamounttypesiteId
atg.commerce.order.ItemRemovedFromOrder
The ItemRemovedFromOrder message is sent out when an item is removed from an order either before or after checkout.
Base type: ScenarioEvent
JMS type: atg.commerce.order.ItemRemovedFromOrder
Source
CartModifierFormHandler and Web services.
Properties
ordercatalogRefproductcommerceItemquantityquantityWithFractionamounttypesiteId
atg.commerce.order.OrdersMerged
An OrdersMerged message is sent whenever orders are merged.
Base type: ScenarioEvent
JMS type: atg.commerce.order.OrdersMerged
Source
OrdersMerged is sent from OrderManager.mergeOrders, which is called by CommerceProfileTools.loadShoppingCarts when a transient order in the session is merged with a saved order on the profile.
If mergeOrders is set to false, loadShoppingCarts will not set a cart as the current shopping cart unless the current shopping cart is empty, which sets the transient order remain in the session. To ensure that backups of the sessions do not store a customer’s credit card, the /atg/commerce/order/ parameter is set to false.
OrderHolder.enableCVVNumberSessionBackup
Properties
siteIdsourceOrderdestinationOrdersourceRemoved(boolean)
atg.commerce.order.ItemQuantityChanged
The ItemQuantityChanged message is sent out when the quantity of an item changes in an order either before or after checkout.
Base type: ScenarioEvent
JMS type: atg.commerce.order.ItemQuantityChanged
Source
CartModifierFormHandler
Properties
idordercatalogRefproductcommerceItemoldQuantitynewQuantitytypesiteId
atg.commerce.order.scheduled.ScheduledOrderMessage
The ScheduledOrderMessage is sent for any action on a scheduled order. You can tell what the action was by looking at the messages action property which is of type ScheduledOrderAction (Enum).
Base type: CommerceMessageImpl
JMS type: atg.commerce.order.scheduled.ScheduledOrderMessage
Actions
CreatedUpdatedDeletedSubmited *This action is spelled “submitted.”
Source
ScheduledOrderTools sends messages for all four actions.
Properties
actionoriginalIdoriginalSourceparentSessionIdprofilescheduledOrdersessionIdsiteIdsourceIdtypeuserId
atg.commerce.order.SwitchOrder
The ShoppingCart can contain multiple saved orders; the current property indicates which order is the current order. The SwitchOrder message is sent when the user changes which order is the current order.
Base type: CommerceMessageImpl
JMS type: atg.commerce.order.SwitchOrder
Source
The shopping cart.
Properties
oldOrderorderoriginalIdoriginalSourceparenSessionIdsessionIdsourceIdsiteIdtypeuserId
atg.commerce.order.OrderSaved
The OrderSaved message is sent when order has been saved by the user and is moved to their list of saved orders (this is not the same as saving an order into the repository).
Base type: CommerceMessageImpl
JMS type: atg.commerce.order.OrderSaved
Source
SaveOrderFormHandler
Properties
orderoriginalIdoriginalSourceparentSessionIdsessionIdsiteIdsourceIdtypeuserId
atg.commerce.pricing.PriceChanged
The PriceChanged message is sent when the price of an order changes.
JMS type: atg.commerce.pricing.PriceChanged
Source
PricingTools, whenever it is used to price an order total or an order subtotal.
Properties
idtypepriceChangeTypeprofileorderrepricedObjectoldPricenewPrice

