Home > Contents > Index >
cart:gettaxtotal
Obtains the tax total for the cart.
Syntax
<cart:gettaxtotal 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 tax total, which is assigned as a double value on output.
storeid
(optional)- Input parameter. ID of the store where the tax total applies, if the cart represents more than one store. If
storeid
is not included, returns the tax total for all stores.
Description
When called,
cart:gettaxtotal
returns a total that includes taxes, but not items, discounts, and shipping. Always returns zero until the cart has been checked or committed.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.