Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
cart:getfinaltotal
Obtains the final cart total.
Syntax
<cart:getfinaltotal name="cartname" varname="varname" [storeid="storeid"]/>Parameters
name
(required)- Input parameter. Name of the cart object.
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.
storeid
(optional)- Input parameter. ID of the store where the total applies, if the cart represents more than one store. If
storeid
is not included, returns the item total for all stores.Description
When called,
cart:getfinaltotal
returns a final total that includes items and discounts, tax, and shipping. Always returns 0 (zero) until the cart has been checked or committed.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.