Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order Reset Button Issue in Add to Cart Section #245

Open
ShaikhAman01 opened this issue Oct 29, 2023 · 2 comments
Open

Order Reset Button Issue in Add to Cart Section #245

ShaikhAman01 opened this issue Oct 29, 2023 · 2 comments
Assignees
Labels
bug Something isn't working hacktoberfest It is for hacktoberfest hacktoberfest-accepted Intermediate for Intermediate JS developers

Comments

@ShaikhAman01
Copy link
Contributor

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
Copy link
Contributor Author

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

@c4coderandcreator c4coderandcreator added bug Something isn't working hacktoberfest It is for hacktoberfest hacktoberfest-accepted Intermediate for Intermediate JS developers labels Oct 29, 2023
@c4coderandcreator
Copy link
Owner

Good find @ShaikhAman01 !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest It is for hacktoberfest hacktoberfest-accepted Intermediate for Intermediate JS developers
Projects
None yet
Development

No branches or pull requests

2 participants