All Projects → futhr → spree-postal-service

futhr / spree-postal-service

Licence: BSD-3-Clause License
Weight based calculator for Spree Commerce.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to spree-postal-service

Spree
Open Source headless multi-language/multi-currency/multi-store eCommerce platform
Stars: ✭ 11,571 (+55000%)
Mutual labels:  e-commerce, spree
vscode-open-in-github
Open the current project or file in github.com.
Stars: ✭ 16 (-23.81%)
Mutual labels:  extension
urbit-visor
Urbit Visor is an extension which transforms your web browser into a first class Urbit client.
Stars: ✭ 65 (+209.52%)
Mutual labels:  extension
DwinaTech-Shop
E-commerce application. created for education and learning
Stars: ✭ 35 (+66.67%)
Mutual labels:  e-commerce
limestone-accounts
Boilerplate Rails 5.2 multitenant SaaS application with webpack and Docker integration. Billing is scoped to accounts.
Stars: ✭ 97 (+361.9%)
Mutual labels:  rspec
snipcart-nextjs
Demo code for a Next.js e-commerce app powered by Snipcart
Stars: ✭ 116 (+452.38%)
Mutual labels:  e-commerce
react-native-ecommerce
A minimal React Native e-commerce app template
Stars: ✭ 55 (+161.9%)
Mutual labels:  e-commerce
AndrOBD-Plugin
AndrOBD plugin development project
Stars: ✭ 38 (+80.95%)
Mutual labels:  extension
rspec-storage
RSpec output test report to any stroage (current support is [s3, gcs])
Stars: ✭ 22 (+4.76%)
Mutual labels:  rspec
massa
Keep the quality, good practices and security of Rails projects.
Stars: ✭ 61 (+190.48%)
Mutual labels:  rspec
ssh-python
Python bindings for libssh C library.
Stars: ✭ 19 (-9.52%)
Mutual labels:  extension
vscode-magento-wizard
Helps develop Magento 2 extensions using VSCode
Stars: ✭ 22 (+4.76%)
Mutual labels:  extension
django ecommerce
Scalable Django E-Commerce, perfect to start one new online shop project.
Stars: ✭ 25 (+19.05%)
Mutual labels:  e-commerce
sanic-mongodb-extension
MongoDB with μMongo support for Sanic framework
Stars: ✭ 25 (+19.05%)
Mutual labels:  extension
GladiatusCrazyAddon
A browser addon for the Gladiatus browser game.
Stars: ✭ 31 (+47.62%)
Mutual labels:  extension
Userscript
Userscripts collection written by me
Stars: ✭ 92 (+338.1%)
Mutual labels:  extension
raddocs
Rspec Api Documentation Browser
Stars: ✭ 72 (+242.86%)
Mutual labels:  rspec
cyclos
Cyclos is a payment platform for large businesses and organisations
Stars: ✭ 15 (-28.57%)
Mutual labels:  e-commerce
devdevdev
The next trendy apparel e-commerce store maybe?
Stars: ✭ 27 (+28.57%)
Mutual labels:  e-commerce
TokoTokoan
No description or website provided.
Stars: ✭ 19 (-9.52%)
Mutual labels:  e-commerce

Spree Postal Service

Build Status Coverage Status Code Climate Gem Version

A postal service is delivers based on weight only(*). Like most post services in Europe will.

This Spree extension adds a spree-calculator to model this.

Other features:

  • Size and weight restrictions can be specified.
  • You specify a weight/price table.
  • Handling fee may be added ( with a maximum when it won't be applied anymore).
  • Multi-parcel shipments are automatically created.
  • You can specify a maximum order price, orders over this will not be charged.

Off course this relies on your weight data to be correct (and if you want the restrictions to work, the size data too). Use the same measurements as in the product info page.

(*) You may install several ShippingMethods for (usually) different countries.

Usage

Add to your Gemfile:

gem 'spree_postal_service', github: 'futhr/spree-postal-service', branch: 'master'

Go to admin interface:

http://localhost:3000/admin/shipping_methods/new

and use Postal Service as calculator.

The size/weight table must have the same amount of (space separated) entries.


Example

With the default settings (measurements in kg and cm):

  • Max weight of one item: 18
  • Max width of one item: 60
  • Max length of one item: 90
  • Default weight: 1kg (applies when product weight is 0)
  • Handling fee: 10
  • Amount, over which handling fee won't be applied: 50
  • Max total of the order: 120.0
  • Weights (space separated): 1 2 5 10 20
  • Prices (space separated): 6 9 12 15 18

Applies?

The Shipping method does not apply to the order if:

  • Any items weighs more than 18 kg.
  • Any item is longer than 90 cm.
  • Any items second longest side (width) is over 60 cm. Eg a 70x70x20 item.

Costs

  • Items weighing 10 kg of worth 100 Euros will cost 15 Euros.
  • Items weighing 10 kg of worth 40 Euros will cost 25 Euros (15 + 10 handling).
  • Items weighing less than 1 kg of worth 60 Euros will cost 6 Euros.
  • Items weighing less than 1 kg of worth 40 Euros will cost 16 Euros (6 + 10).
  • Items weighing 25 kg of worth 200 Euros will cost 30 Euros (2 packages, 18 + 12 Euro).
  • 3 items without weight information of worth 100 euros will cost 12 Euro.
  • Any amount of items costing more than the max_price will cost 0 Euro.

Contributing

See corresponding contributing guidelines.


License

Copyright (c) 2011-2017 Torsten Rüger, Tobias Bohwalli and other contributors, released under the New BSD License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].