User Guide
Chapter 10228
Replace [token] in [target] with value of grand total from
[ShoppingCart]
This is an interaction between the ShoppingCart and a text element or edit box
that replaces a token with the value of the shopping cart's grand total. This is
determined as the sum of the shopping cart's adjusted total, shipping and
sales tax.
Parameters:
Token is the case sensitive text in the text element to be replaced with the
shopping cart grand total value.
Participants:
ShoppingCart
Target (text element, edit box)
Version 1.0 Contracts
The following contracts shipped with the original version of eStore or in the
interim between the original release and this release. They are deprecated in favor
of the contracts listed above.
Set value in [grandtotal] to sum of [subtotal], [shipping], and
[tax] when [ShipList] changes
This is a client-side contract that calculates a grand total as the sum of subtotal,
shipping, and tax values contained in edit boxes when the selected shipping
option of a dropdown list is changed. This contract is specifically intended for use
with a dropdown populated with UPS shipping options.
Parameters:
None
Participants:
ShoppingCart
Grandtotal, Shipping, Tax edit boxes
ShipList dropdown list