#1642 - Shopping Cart does not update stock correctly when cleared.

  • By
  • Added
  • 10 views
Identifier #1642
Issue type Minor issue (breaks specific functionality)
Title Shopping Cart does not update stock correctly when cleared.
Status Completed
Handling member PDStig
Addon shopping
Description Any one that adds, then deletes a product from their shopping cart, puts that product into an awaiting transaction status, preventing others from purchasing it. The product is stuck there, until I go and cancel non-completed orders. The same thing happens when a user goes to Paypal, then abandons the purchase.
Steps to reproduce

Add a product to your shopping cart. Then clear your cart, then do it again. Do it as many times as you have product stock, and it will lock out new purchases, without any users ever even trying to actually buy anything.

You can defeat this problem by setting stock to "maintained", but now you are selling items you may not have on hand and that may have a long lead time.

Funded? No
Commits

77d6d9f

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated