dohinaf / basic-icecream-website

This is a sample responsive website made using HTML, CSS and JavaScript
https://arcticdelights.netlify.app/
Other
48 stars 218 forks source link

Duplicate Items in Cart #52

Closed satyam1024 closed 1 week ago

satyam1024 commented 2 weeks ago

Current Behavior: When an item is added to the cart multiple times, it appears as separate entries for each addition. For example, if the same item is added three times, it shows up in the cart three times.

Screenshot -.> Screenshot (2996)

Expected Behavior: The cart should display each item only once, regardless of how many times it is added. Next to the item name, there should be a quantity indicator showing the total number of that item in the cart.

Proposed Solution: Show each item in the cart only once. Display the quantity of each item next to the item name.

Additional Request: Update the cart's CSS for a cleaner and more user-friendly UI. This could include: Improved spacing between items. Better alignment for the item names and quantities. Bringing Checkout to the bottom.

I would like to work on this issue please assign it to me under Hacktoberfest and GSSOC. Thank you for considering my request!

github-actions[bot] commented 2 weeks ago

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!