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 total obtained is discount only and does not include any item, shipping, or tax amounts.
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.