Chapter 10
228
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
Summary of Contents for DRUMBEAT 2000 ECOMMERCE EDITION
Page 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Page 6: ...Contents 6 ...
Page 12: ...Introduction 12 ...
Page 90: ...Chapter 2 90 ...
Page 110: ...Chapter 3 110 ...
Page 124: ...Chapter 5 124 ...
Page 142: ...Chapter 7 142 ...
Page 152: ...Chapter 8 152 ...
Page 236: ...Chapter 10 236 ...