Changing the amount for a `CartItem` to zero or less than zero should remove it from the `Cart`
Closed this issue · 0 comments
odrotbohm commented
Cart.addOrUpdateItem(…)
will happily update a CartItem
's quantity to a zero or less-than-zero value. We should transparently remove the CartItem
from the item and flatten the quantity value of the item returned to zero.