MCRMessageAssociation::getItemMessage Method
Obtain the item message.
Syntax
server public static MCRScriptNote getItemMessage(
ItemId _itemId,
MCRSourceID _sourceID,
MCRUpSellOrigin _upsellOrigin,
ItemId _upSellOriginRef)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The item ID.
- _sourceID
Type: MCRSourceID Extended Data Type
The source code ID.
- _upsellOrigin
Type: MCRUpSellOrigin Enumeration
The origin of the upsell or crosssell if the item was triggered from upsell or crosssell.
- _upSellOriginRef
Type: ItemId Extended Data Type
The item ID that triggered the upsell or crosssell item.
Return Value
Type: MCRScriptNote Extended Data Type
The message attached to an item.