CARVIEW |
Every repository with this icon (

Every repository with this icon (

Description: | Advanced calculators for spree ecommerce edit |
Homepage: | https://ext.spreecommerce.com/ edit |
Public Clone URL: |
git://github.com/swistak/spree-advanced-calculators.git
Give this clone URL to anyone.
git clone git://github.com/swistak/spree-advanced-calculators.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:swistak/spree-advanced-calculators.git
|
name | age | message | |
---|---|---|---|
![]() |
README.markdown | Sun Sep 20 15:10:30 -0700 2009 | Initial commit for advanced calculators [swistak] |
![]() |
Rakefile | Sun Sep 27 04:29:21 -0700 2009 | Passing tests for advanced calculators [swistak] |
![]() |
advanced_calculators_extension.rb | Sun Sep 27 04:29:21 -0700 2009 | Passing tests for advanced calculators [swistak] |
![]() |
app/ | Mon Oct 19 04:45:08 -0700 2009 | Fixes to translation [swistak] |
![]() |
config/ | Thu Oct 22 04:00:47 -0700 2009 | Fix to english translation, floor is inclusive ... [swistak] |
![]() |
db/ | Sun Sep 27 04:29:21 -0700 2009 | Passing tests for advanced calculators [swistak] |
![]() |
lib/ | Sun Sep 20 15:10:30 -0700 2009 | Initial commit for advanced calculators [swistak] |
![]() |
nbproject/ | Sun Sep 27 04:29:21 -0700 2009 | Passing tests for advanced calculators [swistak] |
![]() |
test/ | Sun Sep 27 04:29:21 -0700 2009 | Passing tests for advanced calculators [swistak] |
Advanced Calculators
Supports Spree >= 0.9.x
Adapted from code by Michael Lang by Marcin Raczkowski.
old version that works with 0.8 code can be found at https://github.com/mwlang/spree-price-bucket-shipping-calculator/tree/master
Advanced Calculators allow you to define shipping costs based on shipping method and ranges of parameters from line items.
When installed, a new "Advenced Caclulators Settings" link is added to the Configuration area in the Spree administration interface. There after creating one of advanced calculators you can define as many different rates as required, and link them to the relevant Calculator.
Each advanced calculator contains the following values:
Calculator: Each Rate is associated with a Calculator, which is used to calculate charges.
Floor: This is the lower bound for rate. The value is not included.
Ceiling: This is the upper bound for rate. This value is inclusive.
Shipping Rate: Is the shipping charge to apply to the order for order's that fall within ththe renge set by Floor and Ceiling.
Quick Start
Install extension:
script/extension install git://github.com/swistak/spree-advanced-calculators.git
Migrate the database (or bootstrap if you want the sample data for testing)
rake db:migrate