Chapter 10
226
Set shipping in [ShoppingCart] to [flat-rate] shipping based on
total order quantity
This is a server-side contract that sets the ShoppingCart shipping property to a
shipping value based on a flat-rate shipping charge for each item ordered. The
number of items ordered is determined from the shopping cart. For instance,
suppose you have 5 items ordered, and you specify a flat rate of 5.00 per item. The
contract will return a shipping charge of 25.00.
Parameters:
Ship Rate Per Item is the numeric value of the shipping charge for each item.
Token is the exact case-sensitive text that will be replaced by the shipping value.
Participants:
ShoppingCart
Set [target] to ship method when selection is made in [source]
Set the contents of an element (usually an edit box) to the selected item in a list or
list box that contains ship data when a selection is made. This is useful for setting
the content of a hidden form element to the selected ship method so that the ship
method can be bound to the Order recordset when a new order is inserted.
Typical Participants:
Source list box
Target edit box
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 ...