Free Shipping
The Free Shipping property applies free shipping as a discount award to all products ordered. Shipping discounts apply to an order at the cumulative level, as opposed to an item specific level, which makes them similar to an order level discount. A site developer must make custom changes to your site for percentage off and dollar off variations of the shipping discount. For information about applying shipping discounts to an order, in the Programmer's Reference, see ShippingDiscountAdjust.
In the order_discount table, which is used to store all discounts, there are two discount properties: b_disc_order_level_discount, and u_disc_special_offer_type. These two discount properties are used to differentiate between order level discounts and shipping discounts.
Multiple Ship-to Addresses
Commerce Server 2002 supports multiple ship-to addresses. For example, a user can buy a number of items, and have them shipped to multiple addresses.
Item | Quantity | Unit Price | Extended Price | Ship-to address |
---|---|---|---|---|
Silver pendant | 2 | 30 | 60 | Joe User 1234 NE 34th St Redmond, WA 98052 |
Toy race car | 2 | 50 | 100 | Joe User 4930 Maple Ave Dallas, TX 75235 |
Total | 160 |
Shipping Discount and Interaction Policies
The following example explains how interaction policies of the shipping discount and the order level discount are linked to each other.
Discount | Condition (Buy) | Award (Get) | Priority |
---|---|---|---|
Discount 1 | Buy an order with subtotal greater than 300 dollars | Get an order level discount of 20 dollars | 10 |
Discount 2 | Buy a Camcorder | Get free shipping | 20 |
The following is in the user basket:
Item | Quantity | Unit price | Extended price |
---|---|---|---|
Camcorder | 1 | 200.00 | 200.00 |
Digital Camera | 1 | 300.00 | 500.00 |
Total | 700.00 |
Discount 1 will apply first because it has a priority of 10. The shipping discount is a cumulative discount, so the shipping discount and the order level discount are linked by using Commerce Server common discount interaction policies. Therefore, Discount 1 blocks any further awards, and Discount 2 will not be applied.
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.