PrestaShop / hummingbird

82 stars 76 forks source link

[Shopping Cart] when you edit the product qty to zero, the product won't be removed from the cart #536

Closed hibatallahAouadni closed 1 year ago

hibatallahAouadni commented 1 year ago

Describe the bug and add attachments

when you change the product quantity to zero, usually the product will be deleted, but here the page shows me an error, and the product stay still in the cart, see the attached screen record below:

issue_536.webm

Expected behavior

The product should be deleted from the cart (check the Classic theme)

Steps to reproduce

  1. FO>add a product in the cart
  2. Click on Proceed to Checkout
  3. Try to minimize the product quantity to zero
  4. An error is displayed and the product stay still in the cart

PrestaShop version(s) where the bug happened

8.1.0

PHP version(s) where the bug happened

7.4