
Shopping Cart Reference
163
Configuring Shopping Cart Content: The
Data Map
For the Shopping Cart to function, you must supply its content in the form of a
static content table, affectionately known as the Data Map. This content table
provides an information map for the Shopping Cart. You must provide titles for
each column of the data map and provide four additional rows. The .csv file in
this release provides a starting point for your data map that includes data for all
required shopping cart columns. You can add additional columns to the starting
point as you like.
1
Create a new content table in Drumbeat. In the New Content table dialog,
select Populate From External File, select the Use First Line for Column Names
checkbox and browse to the CSV file you want to use.
BasicShoppingCart.csv includes only the basic required fields for the shopping
cart. Does not include wieght tracking or line-item discount handling.
ShoppingCart_WeightTracking.csv includes the weight-related columns so you
can do weight-based shipping.
ShoppingCart_Discounts_NoWeight.csv includes the columns needed to
handle line-item discounts (without weight-related columns).
ShoppingCart_Discounts_WithWeight.csv includes columns for discounts and
weight to enable both line-item discounts and weight-based shipping.
2
Click OK and the Data Map Content Table will be created. Rename each
column header to match the column header names in your cart. To rename
columns, double click the column header and enter the name in the resulting
dialog. Rename each row as follows by double-clicking on the row name:
1st row: Source DB field
2nd row: Destination DB field
3rd row: Column Key
4th row: Visible
The rows of the Data Map and what they represent are described following:
Data Map Header Row
titles of Shopping Cart columns. This allows you to name
the shopping cart column anything you like, even though the source database field
might be called something else.
Data Map First Row (Source DB field)
identifies the name of the database source
field for a given shopping cart column when an item is added to the cart. For
instance, a 'Price' column in the shopping cart might come from the
'PurchasePrice' field in the database. Note that some of the required columns,
such as quantity and total, do not come from the database but are determined at
runtime during the shopping session. For these columns, enter "None" in the
Source DB row.
Содержание 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 ...