CyberCash SmartElement Reference
225
Set shipping in [ShoppingCart] to value of [ListElement]
containing ship data
Sets the shipping property of the Shopping cart to the cost value of the selected
option from a list element that contains ship costs in the value of each list option.
This is a general contract to be used with list elements that are populated
manually. IT SHOULD NOT BE USED WITH LISTS POPULATED USING
THE SPECIALIZED 'POPULATE LIST ELEMENT...' CONTRACTS
Parameters:
None
Participants:
ShoppingCart
ListElement dropdown list
Set shipping in [ShoppingCart] to value from [recordset] based on
[data]
This is a server-side contract that sets the ShoppingCart's shipping property to a
shipping value from a lookup recordset based on the weight or purchase price of
an order contained in the shopping cart. The recordset contains ranges for either
weight or purchase price, and the contract takes the total weight or order subtotal
from the cart and finds the corresponding range in the recordset and extracts the
associated shipping value. Note that in order to implement shipping based on
order weight ranges, you will need to track item weight in your shopping cart,
which means you'll need to store items weights in your products database.
Parameters:
Maximum Col is the column of the recordset participant that specifies the
name of the column containing the maximum value of a given weight or
price range.
Minimum Col is the column of the recordset participant that specifies the
name of the column containing the minimum value of a given weight or
price range.
Rate Col is the column of the recordset participant that specifies the name of
the column containing the shipping value of a given weight or price range.
Shopping Cart Data specifies whether the Total weight or Purchase price of the
shopping cart will be used to lookup a shipping value.
Participants:
ShoppingCart
Recordset
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 ...