Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | 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 > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.