TableShipping

The TableShipping component, which appears in the Shipping stage of an order processing pipeline, sets the value of _shipping_total on the order form by using values retrieved from the database.

Note

The TableShipping component is included in Commerce Server 3.0 only for backward compatibility with sites created in Commerce Server 2.0. Commerce Server 3.0 sites should use TableShippingADO.

Remarks

The combination of the Key, Apply when, and Method fields determine whether the handling should be applied to the order.

The TableHandling component first checks the Apply when value. If it is set to Always, the shipping charge is always applied to the order. If Apply when is set to Has any value, the shipping charge is applied to the order whenever the order form contains any value for shipping_method. If Apply when is set to Equal to Method, the component does a comparison between the value of shipping_method on the order form and the text string in the Method field on this property page. If there is a match, the shipping charge is applied.

If the component determines that the shipping charge should be applied, it then executes the query specified in Query. This query retrieves the per-item and per-order shipping charges from the database, and then uses the value of the Basis Item Key to compute the shipping charge.

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.