Allows product-based configuration of shipping rates.
Calculates shipping rate based on a product’s/variant‘s shipping_rate attribute.
You can set a default rate that will be used for products with no specified shipping rate.
Add the gem to your Gemfile…
gem 'spree_product_based_calculator'
…and run
$ bundle install
$ rake railties:install:migrations
$ rake db:migrate
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 Laurens Nienhaus, released under the New BSD License