Skip to content

coderelax/spree-weight-bucket

 
 

Repository files navigation

Weight Bucket Shipping Calculator for Spree

A shipping calculator for Spree that calculates shipping costs based on weight buckets. Ranges of package weights are assigned a price and the shipping cost worked out based on the total weight of the products in the cart.

Installation

Add this line to your Gemfile:

gem "spree_weight_bucket", :git => "git@github.com:terje/spree-weight-bucket.git"

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

$ bundle
$ bundle exec rake test app
$ bundle exec rspec spec

Copyright (c) 2012 Terje Tjervaag, released under the New BSD License

About

Shipping calculator for Spree based on weight buckets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.0%
  • CSS 1.1%
  • JavaScript 0.9%