Home > Contents > Index >
cart:getcartdiscounttotal
Obtains a total of all discounts applied to the cart.
Syntax
<cart:getcartdiscounttotal name="cartname
" [storeid="storeid
"] varname="varname
"/>Parameters
name
(required)- Input parameter. Name of the cart object.
storeid
(optional)- Input parameter. ID of the store for which a discount total should be retrieved, if the cart represents more than one store. If unspecified, discount totals for all stores are retrieved.
varname
(required)- Input and output parameter. As input, name of a variable that holds the total, which is assigned as a double value on output.
Description
The cart total obtained is discount only and does not include any item, shipping, or tax amounts.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.