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

Prevent grouping of items in cart #38

Open
pljspahn opened this issue May 2, 2020 · 0 comments
Open

Prevent grouping of items in cart #38

pljspahn opened this issue May 2, 2020 · 0 comments

Comments

@pljspahn
Copy link

pljspahn commented May 2, 2020

I've been using django-cart for a basic app to sell physical products. It's simple and has worked okay for me so far.

I'm now working on adding Gift Card products where the price is chosen by the customer. The model this is based off is just a one-off model to change the name/description/etc. Price is chosen on the detail page.

This presents a problem as when I add a gift card to the cart for $50, and subsequently add another to the cart for $100, the cart sees both items as $100 instead of creating a separate line item for each.

Is there a way for me to prevent this item from grouping together without having to create model entries for all available prices?

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

No branches or pull requests

1 participant