FixedShipping
The FixedShipping component, which usually appears in the Shipping Stage of an order processing pipeline, sets the value of order._shipping_total to the fixed amount specified in the Cost field.
-
υKey. (Read-only) The name of a property on the order form used to specify shipping method. The value of this property is compared to the string specified in the Method field to determine whether to apply the shipping charge to the order.
-
υApply when. Specifies when to apply the handling charge specified in the Cost field.
-
υEqual to Method. Specifies that the value of the Cost field will be applied only if the value of the name\value pair specified for Key is the same as the string specified in the Method field.
-
υHas any value. Specifies that the value of the Cost field will be applied when the value of the name\value pair specified for Key has any value on the OrderForm. If you select this option, the Method field should be left blank.
-
υAlways. Specifies that the value of Cost is always applied to the order.
-
υMethod. If Equal to Method is selected, specifies a string that the component compares with the value of shipping_method on the order form to determine whether to apply the shipping charge to the order. The value of the Cost field will be applied only if there is an exact match.
-
υCost. Specifies the charge that will be applied if the conditions are met. Type the value in the same currency unit in which prices are stored in the database.
Example
The following example sets the shipping cost to $9.95, shipped by Carrier1.
Field |
Value |
|
Apply when |
Equal to Method |
Method |
Carrier1 |
Cost |
995 |
When configuring the components in this stage, make sure that the components are specified in the order in which you want them to be executed. For example, if two components specify Carrier2, only the last one will be valid, and will overwrite the first.
Note
You cannot specify more than one method per component; if you need to specify more than one shipping method, add a separate FixedShipping component for each method. For example, in the Pipeline Editor, include three FixedShipping icons to the Shipping stage, and then double-click each and enter the shipping information in each of the resulting properties dialog boxes.
Related Topics
© 1997-1998 Microsoft Corporation. All rights reserved.