Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 



Examines the current promotion list to determine whether there are any appropriate discount rules.



CART (required)
Input parameter. Name of the cart to discount (not the current cart).


If there are discount rules, this tag applies the discount to the shopping cart that is passed into the argument. If the promotion list does not yet exist, this tag invokes COMMERCECONTEXT.GETPROMOTIONS to obtain one.

The current cart is not discounted.

You use this tag to display a discounted price on a page. For example, one way to show that an item is reduced in price (that is, on sale) is to create a temporary cart, put that item in that cart, use this tag to apply a special discount to the temporary cart, and then display the resulting price on the page next to text that announces the discount.

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.