Skip to content
The Price Bucket Shipping Rate Calculator allows you to define shipping costs based on the order's sub-total and shipping method.
Ruby
Find file
Pull request Compare This branch is 3 commits ahead of mwlang:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config/locales
db/migrate
lib/tasks
spec
README.markdown
Rakefile
price_bucket_shipping_calculator_extension.rb

README.markdown

Price Bucket Shipping Rate

Supports Spree >= 0.9.x

Original code by Michael Lang Adapted for new calculators by Marcin Raczkowski.

old version that works with 0.8 code can be found at http://github.com/mwlang/spree-price-bucket-shipping-calculator/tree/master

The Price Bucket Shipping Rate Calculator allows you to define shipping costs based on the order's sub-total and shipping method.

When installed, a new "Price Bucket Shipping Rates" link is added to the Configuration area in the Spree administration interface. There after creating named PriceBucket calculator you can define as many different rates as required, and link them to the relevant Calculator.

Each PriceBucketShippingRate contains the following values:

  1. Calculator: Each PriceBucketShippingRate is associated with a Calculator, which is used to calculate charges.

  2. Price Floor: This is the lower end of the price range for defining the "price bucket". The value is inclusive.

  3. Price Ceiling: This is the upper end of the price range for defining the "price bucket" The value is inclusive.

  4. Shipping Rate: Is the shipping charge to apply to the order for order's whose sub-totals fall within this price bucket.

Quick Start

  1. Install extension:

    script/extension install git://github.com/swistak/spree-price-bucket-shipping-calculator.git

  2. Migrate the database (or bootstrap if you want the sample data for testing)

    rake db:migrate

Something went wrong with that request. Please try again.