Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/misaelnieto/lfs-shipping-zzw
Shipping method for LFS based on Zone, ZipCode and Weight
https://github.com/misaelnieto/lfs-shipping-zzw
Last synced: 1 day ago
JSON representation
Shipping method for LFS based on Zone, ZipCode and Weight
- Host: GitHub
- URL: https://github.com/misaelnieto/lfs-shipping-zzw
- Owner: misaelnieto
- License: bsd-3-clause
- Created: 2013-11-08T14:39:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T19:10:49.000Z (about 4 years ago)
- Last Synced: 2024-11-11T11:11:53.344Z (2 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
What is it?
===========LFS Plugin to calculate the shipping cost based on the zipcode, two or more
zones and the weight, therefore: zzw.Basic usage
===========Add your application to the PYTHONPATH.
Add the class ``ZZWPriceCalculator`` to the
``LFS_SHIPPING_METHOD_PRICE_CALCULATORS`` setting. Example::
LFS_SHIPPING_METHOD_PRICE_CALCULATORS = [
["lfs.shipping.GrossShippingMethodPriceCalculator", _(u'Price includes tax')],
["lfs.shipping.NetShippingMethodPriceCalculator", _(u'Price excludes tax')],
["lfs_ZZW.ZZWPriceCalculator", _(u'ZZW')],
]Add the shipping_zzw app to ``settings.INSTALLED_APPS``::
If your are using models (which is completely up to you), add the application
to settings.INSTALLED_APPS and sync your database.Add a new shipping method and select Zipcode, Zone and Weight from the
``price_calculator`` field.Save the shipping method.