Home > Contents > Index >
COMMERCECONTEXT.GETPROMOTIONS
Creates the list of promotions for which the current visitor is eligible.
Syntax
<COMMERCECONTEXT.GETPROMOTIONS LISTVARNAME="promotionlist"/>Parameters
LISTVARNAME
(required)- Input and output parameter. As input, name of the list to create on output of the promotions for which the current visitor is eligible.
Description
The
COMMERCECONTEXT.GETPROMOTIONS
tag is invoked whenever a tag that needs to consult the promotion list is invoked and then finds that the promotion list does not yet exist. It is invoked by the following tags if they do not find the promotion list:
COMMERCECONTEXT.GETRECOMMENDATIONS COMMERCECONTEXT.GETSINGLERECOMMENDATION COMMERCECONTEXT.DISCOUNTCART COMMERCECONTEXT.DISCOUNTTEMPCARTTo create the list of promotions,
COMMERCECONTEXT.GETPROMOTIONS
invokes the COMMERCECONTEXT.CALCULATEPROMOTIONS tag.The list is created unsorted; it can be used to display appropriate promotions for the current visitor. You use this tag during the debugging phase of your application design.
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.