shopping cart by TailwindCSS ,ReactJs,NextJs

Please log in to post a comment
Log in with GitHubCommunity feedback
- @ippotheboxer
Hey there, nice solution!
There seems to be a bug with the cart: when I add a product to the cart, and then press on the X to delete that item, on the product itself it still shows the number of items: for example I add 3 tiramisu to the cart, remove it, but on the tiramisu it still stays 3 items are added.
The same thing happens if you press confirm order and then start new order: on the products, it still displays the amount that was selected. This doesn't get reset. Make sure that the state of these items is linked to the products that are shown.
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord