Commits

Chris Moffitt committed 097f2ad

Fix bug in cart remove item. Closes #1243

  • Participants
  • Parent commits f1c9d2c

Comments (0)

Files changed (1)

satchmo/apps/satchmo_store/shop/models.py

         item_to_modify.quantity -= number_removed
         if item_to_modify.quantity <= 0:
             item_to_modify.delete()
-        self.save()
+        else:
+            item_to_modify.save()
 
 
     def merge_carts(self, src_cart):