c4coderandcreator / Flavour-Fusion

"Flavour Fusion : Real World Project". It has all the necessary features required for a Food website.
https://c4coderandcreator.github.io/Flavour-Fusion/
MIT License
54 stars 84 forks source link

Order Reset Button Issue in Add to Cart Section #245

Open ShaikhAman01 opened 10 months ago

ShaikhAman01 commented 10 months ago

Describe the bug The 'Reset' button in the 'Add to Cart' section does not clear the checkout table, retaining added items and quantities despite resetting the price and items to zero.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Orders' in navigation
  2. Click on 'Order Now'
  3. Add items
  4. Click 'Reset' button
  5. See error

Expected behavior When the 'Reset' button is utilized in the 'Add to Cart' section, it should completely reset the order, including both the price and the items to zero, ensuring a complete refresh of the checkout table by clearing all added items and their quantities.

Screenshots

Before Reset Screenshot 2023-10-30 001437

After Reset image

ShaikhAman01 commented 10 months ago

I would also be willing to change the Currency symbol to Dollars after the Reset button is clicked

c4coderandcreator commented 10 months ago

Good find @ShaikhAman01 !!