| Issue 144: | Changing quantity of an item to zero does not remove it from the cart | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
What steps will reproduce the problem? 1. Add a product to your cart 2. Change the quantity to 0 and update the cart 3. The item is still there with the quantity 0 What is the expected output? What do you see instead? The payable line should disappear (be deleted) by default if the quantity is 0. |
||||||||||
,
Dec 13, 2007
(No comment was entered for this change.)
Status: Started
Owner: horacio.duran |
|||||||||||
,
Dec 18, 2007
Ok finally I added a delete method to LineItemFactory then added functinality to the handle_update method on the cart to call delete on items with quantity 0. And of course tests for this.
Status: Fixed
|
|||||||||||
|
|
|||||||||||