User Guide

Shopping Cart Reference 197
Add [flat-value] adjustment [type] to [ShoppingCart] based on
[comparison] of [OrderData] to [threshold]
This is an activation on the Shopping Cart that adds a flat adjustment to the cart
based on how the specified order data parameter compares to the threshold
parameter. An adjustment in this context represents a fee or discount on the total
order. The threshold parameter represents the amount to which the order data is
compared to determine whether the adjustment is applied, where the order data
parameter can be the total purchase, total weight, or total quantity of the
shopping cart. Possible examples would be applying a handling fee if the total
weight or total quantity exceeds a certain amount or applying a discount based on
a purchase greater than a specified amount. Applied adjustments can be displayed
in the Shopping Cart display.
This contract applies a flat adjustment specified in the 'Flat Adjustment'
parameter if the specified data parameter exceeds the threshold. A related contract
is available to apply percentage adjustments in this manner. Note that these
adjustments are global to the order and are not relevant to specific line-items in
the shopping cart. Additional contracts are available to provide discounts at the
product (that is, line-item) level.
Parameters:
AdjustmentName is the name of the adjustment
AdjustmentType specifies whether the adjustment is a discount or a fee
Comparison specifies how the order data should be compared to the threshold.
Possible values are >= and <=.
Data is the shopping cart data used to compare against the threshold value.
This can be total weight, purchase or quantity
Flat Adjustment is the value of the adjustment
Threshold is the requirement for the adjustment to take effect.
Participants:
ShoppingCart