lazybird / django-carton

A simple and lightweight application for shopping carts and wish lists.
Other
274 stars 101 forks source link

Support for custom cart item class #19

Open kmitrovic opened 10 years ago

kmitrovic commented 10 years ago

Now it is (easily) available to override only CartItem class' functionality. The custom class (extending the original CartItem, or a brand new class with corresponding methods/properties) can be set within django settings (CART_ITEM_CLASS).

This comes in handy when you have some special pricing model like special discounts for quantity > 1.

rmoch commented 9 years ago

:+1: up: