PriceRange

With this shipping calculation, the total cost of the order is compared against a range set in the shipmethods table.

The shipping cost is whatever is in the Base Price field within that price range, where minimum price is the lower limit of the price range and maximum price is the upper limit of the price range.

So for every type of shipping method, there should be multiple records, each one with its own price range and own price (only the relevant price range version of the multiple entries will appear in checkout).

The following table shows an example of how you could set up a price range shipping bracket:

Shipping Method

Base Price

Minimum Price

Maximum Price

Express

10

0

50

Express

20

50

100

Express

30

100

999999

Normal Post

5

0

50

Normal Post

10

50

100

Normal Post

15

100

999999

So if your customer orders products totalling $75 and selects Normal Post, their shipping cost will be $10, as $75 falls within the second price bracket for Normal Post.

If you have specified that there are free shipping products and only those are purchased, then the shipping cost will be zero.