No commit activity in last 3 years
No release in over 3 years
calculates shipping rate based on a product’s shipping_rate property or a default value
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.1.1
 Project Readme

SpreeProductBasedCalculator

Allows product-based configuration of shipping rates.

Description

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.

Installation

Add the gem to your Gemfile…

gem 'spree_product_based_calculator'

…and run

$ bundle install
$ rake railties:install:migrations
$ rake db:migrate

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 Laurens Nienhaus, released under the New BSD License