spree/spree — pull request #1007 by kpitn (2012-01-21 21:00:09+00:00)
Title: Add new Shipping Calculator (Weight Rate)

Many shipping cost are base on weight.

With this calculator you specify a rule :
Example : 1:4;2:5;3:10;4:14;10:30;20:70;40:120;100:150

If your weight is between 2 and 3, then your price is 10
If your weight is between 40 and 100, then your price is 150
If your weight is not in the rule, a default price is available
If your variant have no weight, a defaut weight is available