Help Version: 2.12
Last Update: 06/2/03

Quantity Based Shipping

Product Specific Shipping allows store owners to set one flat shipping cost for all items in the store, but for stores that would like more advanced shipping alternatives, the Shipping Logic Wizard allows quantity based calculations with flat rate or price each fees in addition to handling fees.

Example 1: Basic shipping plus handling

logic_001=Standard Delivery||1-999||2.00|1.00e

This line says 1-999 are 1.00e (each) and the handling is 2.00. So, if the customer has 1 item in their cart, their shipping will be 3.00. 4 items in their cart, their shipping will be 6.00.
(1 x 1.00) + 2.00 = 3.00
(4 x 1.00) + 2.00 = 6.00

Example 2: Complex shipping plus handling

logic_001=Standard Delivery||1-4|||10.00
logic_002=Standard Delivery||5-10||4.00|1.50e
logic_003=Standard Delivery||11-||6.00|1.00e

What we're trying to accomplish here is to get a base charge of 10.00 for the first four items, then item-based charges for the fifth item on up. Since the base 10.00 charge includes the charge for the first four items, and the "e" tells the script that we want to add an amount for each item in the cart, we need to adjust the handling charges in the second and third lines of logic so that the customer doesn't get charged for the first four items twice.

The first line is a straight 10.00 charge for 1-4 items.

The second line says: 5-10 items are 1.50e (each) and the handling is 4.00. (The handling [4.00] is determined by the amount for the first 4 items [10.00] minus the cost "each" from line 2 [4 x 1.50] = 6.00.
10.00 - 6.00 = 4.00

The third line says: 11 or more items are 1.00e (each) and the handling is 6.00. (The handling [6.00] is determined by the amount for the first 4 items [10.00] minus the cost "each" from line 3 [4 x 1.00] = 4.00.
10.00 - 4.00 = 6.00

Example 3: Handling fee for small orders

Your shipping logic can be as complex or simple as it needs to be. A simple way to use quantity based shipping is if you simply want to add a handling fee for orders under a certain quantity. In that case, your logic may look something like this:

logic_001=Standard Delivery||1-4||25.00|30.00e
logic_002=Standard Delivery||5-|||30.00e

In this case, each item has a shipping weight of 30.00. Handling fees are only added to orders which contain less than 5 items.

 


Copyright 1997-2003 iSoft-Solutions, inc.