
Chapter 9
154
Shopping Cart Attributes
The design-time behavior of the Shopping Cart is configured using the Attributes
Sheet. Users can configure the following properties:
Content: A Static Content table that contains titles of each column in the cart,
the associated database source and destination columns, column keys, and
column visibility information. Setting up the content table is somewhat
complex, and is described in detail later.
Name: Name of the Shopping Cart
Store As Cookie: Toggle specifying whether Shopping Carts will persist across
sessions as a cookie.
Cookie Expiration (days): Specifies the cookie expiration in days.
Run-time properties, which are available via scripting to the Shopping API
methods, include the following:
SalesTax
Stores the sales tax for a given order. This is typically set via contracts and can be
accessed via the Shopping cart's GetSalesTax() and SetSalesTax(Value) methods.
Shipping
Stores the shipping for a given order. This is typically set via contracts and can be
accessed via the Shopping cart's GetShiping() and SetShipping(Value) methods.
Bindings Array
An array of name-value pairs corresponding to non-recordset data that can be
added to the cart. The bindings array is typically managed by several "Add
[element value] to bindings of [ShoppingCart]Ö" contracts and the Shopping
Cart AddBinding (Column, Value) method.
Содержание DRUMBEAT 2000 ECOMMERCE EDITION
Страница 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Страница 6: ...Contents 6 ...
Страница 12: ...Introduction 12 ...
Страница 90: ...Chapter 2 90 ...
Страница 110: ...Chapter 3 110 ...
Страница 124: ...Chapter 5 124 ...
Страница 142: ...Chapter 7 142 ...
Страница 152: ...Chapter 8 152 ...
Страница 236: ...Chapter 10 236 ...