Django Tinycart is a simple cart application for a Django powered site, inspired by django-shop (but without products, orders, payments and shipping).
- Cart can be stored in session for anonymous users or bound with user for authenticated users.
- Support for price modifiers for cart and cart items (e.g., for discounts or taxes).
pip install git://github.com/trilan/django-tinycart.git#egg=django-tinycart
Add
'tinycart'
to yourINSTALLED_APPS
setting.Add
'tinycart.middleware.HTTPMethodOverrideMiddleware'
and'tinycart.middleware.CartMiddleware'
toMIDDLEWARE_CLASSES
.Add
'tinycart.context_processors.cart'
toTEMPLATE_CONTEXT_PROCESSORS
.Add app urls to your project URLConf:
url(r'^cart/', include('tinycart.urls'))
Feel free to fork, send pull requests or report bugs and issues on github.