
Chapter 9
156
Order-level adjustments in the adjustments array are managed via a variety of
eStore Adjustments contracts and several methods of the Shopping Cart's API.
API methods most frequently used in associated with the adjsutments array are:
GetSubTotal()
GetAdjustedTotal()
GetAdjustmentCount()
GetAdjustmentsTotal()
AdjustmentExists(Name)
AddAdjustment(Name, AdjType, RateType, Rate, DataType, Threshold,
Comparison)
GetAdjustmentValueByName(Name)
SetAdjustmentValue(Name)
RemoveAdjustment(Name, Value)
UpdateAdjustments()
Shopping Cart Methods
AddAdjustment
(Name,AdjType,RateType,Rate,DataType,Threshold,Comparison)
Creates an adjustment object with properties based on the parameters passed.
The Adjustments Array property description describes the parameters. The value
of the adjustment is set and updated independently using the SetAdjustmentValue
method.
AddBinding(Column,Value)
Adds a reference in the shopping cart binding array to the name-value pair
represented by the passed parameters. The Column parameter references the
name of a column in the shopping cart's data map, and the value represents the
value that should be bound for that column. This method allows you to add
non-recordset data to the shopping cart when an item is added. All non-recordset
columns should be initialized via AddBinding before the AddItem method
is called.
Содержание 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 ...