Chapter 9
182
Remove all [ShoppingCart] items when [source] is clicked and
redirect to page
This interaction will remove the session variables that are associated with the
shopping cart. It will preserve other session information that you may not want to
destroy when the user removes all the items from the cart.
Note:
Note that it is not necessary when doing an insert of the cart contents in the database.
This insert contract has this functionality already built in.
Parameters:
None
Participants:
Shopping Cart
Source (any clickable object such as a button, image, etc.)
Replace [token] in [target] with [Total] from [ShoppingCart]
This interaction replaces a token in a text element with the value of the a order
total value specified in the 'Total' parameter. This allows you to use one contract
to display either the order subtotal, adjusted total or grand total.
Parameters:
DoNotShowIfEmpty allows you to hide the grand total if there are no items
in the cart.
Total specifies which order data total to use in place of the token. This can be
the subtotal, adjusted total, or grand total.
Token is the exact case-sensitive text in the text element that will be replaced
with the Cart grand total
Participants:
Shopping Cart
Target (text box, edit box, etc.)
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 ...