MahmudulHassan5809 / django-shopping-cart

MIT License
34 stars 19 forks source link

Decrement for an item whoose quantity is 1, should remove item from the cart #6

Open Md-Maqsood-Alam opened 3 years ago

Md-Maqsood-Alam commented 3 years ago

Hi, Used your app in one of my projects recently. It's really helpful and easy to use. Just came across the scenario when the quantity of an item in the cart is 1 and decrement is applied to it. I would propose that the item should be removed from the cart in that case. As of now it redirects to 'cart:cart_details'.