Sha256: ae1c05d0bb42a5b5c8989593ebeffaec5ab22924853cdbb23f5f3dd76c4df313

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 KB

Contents

# Post Clerk

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

This extension adds a office_clerk/shipping_method model to do this.

**Features:**

- 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. Use the same measurements as in the product info page consistantly (either gram or kilogram).

## Usage

Add to your `Gemfile`:
```ruby
gem 'post_clerk', github: 'ruby_clerks_/post_clerk'
```

Add a config/locale/config.yml with the data for the calculator (s)


---

## Example

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

- Max weight of one item: 18
- Default weight: 1kg (applies when product weight is 0)
- Handling fee: 0
- 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):  2 5 10 15 18


The Shipping method does not apply to the order if any items weighs more than 18 kg.

## Cost examples

- 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.

---


## License

Copyright (c) 2011-2014 [Torsten RĂ¼ger][1], [Tobias Bohwalli][2] , released under the [MIT License][3].

[1]: https://github.com/dancinglightning
[2]: https://github.com/futhr
[3]: https://github.com/ruby_clerks/post_clerk/blob/master/LICENSE

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
post_clerk-0.4 README.md