Home > Contents > Index >
COMMERCECONTEXT.CALCULATEPROMOTIONS
Creates a list of the promotions for which the current visitor is eligible.
Syntax
<COMMERCECONTEXT.CALCULATEPROMOTIONS/>Parameters
None.
Description
This tag examines the available visitor data for the visitor, compares it to the visitor data that defines the segments associated with all the possible promotions (in other words, it invokes COMMERCECONTEXT.CALCULATESEGMENTS ), and then lists only the promotions that are a match. It lets you recalculate promotion membership.
This tag is invoked whenever you use any of these tags:
COMMERCECONTEXT.DISCOUNTCART
COMMERCECONTEXT.DISCOUNTTEMPCARTCOMMERCECONTEXT.GETPROMOTIONS
COMMERCECONTEXT.GETRECOMMENDATIONS COMMERCECONTEXT.GETSINGLERECOMMENDATIONYou use this tag to recalculate or refresh the promotion list when visitor data that could effect the promotion list for this visitor has changed since the promotion list was last requested during this session. This action is done the first time promotion information is required in a session.
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.