Home

Awesome

SpreeFlatInRange

This spree extension is no longer maintained; it was developed for Spree 1.0.0, but upgrading to 1.x.0 versions is problematic, due to bugs in Spree's "dummy" app building and its rapid changing API

A Spree calculator to calculate fixed adjustments based on ranges.

For example, free shipping above $100, and $4.39 for all orders under $100, would mean a range from 0 to $99.99, that has a fixed shipping rate of $4.39.

Usage

Add to your gemfile in a Spree application:

gem 'spree_flat_in_range', '~> 0.1.x'

Then visit shipping or tax to use the calculation.

TODO

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 [Bèr Kessels], released under the New BSD License