Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom cart item class #19

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

kmitrovic
Copy link

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
Copy link
Collaborator

rmoch commented Oct 29, 2014

👍 up:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants