arpittyagi102 / Humari-Dukan

Humari Dukan is a E-Commerce website using React with Redux and Bootstrap
https://humaridukan.netlify.app/
MIT License
19 stars 27 forks source link

fixing existing product #43

Closed fahad-011 closed 1 year ago

fahad-011 commented 1 year ago

I have fixed the issue of existing product using redux state but there is a problem you need to implement a button or something which will increase or decrease the count of the quantity and according to the quantity the price will be updated. Like others E-commerce website does.

cart

netlify[bot] commented 1 year ago

Deploy Preview for humaridukan ready!

Name Link
Latest commit 0111e4dd43e0323c5f5a3146d942458f02c9fb97
Latest deploy log https://app.netlify.com/sites/humaridukan/deploys/64a47a32afba7c000832d368
Deploy Preview https://deploy-preview-43--humaridukan.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

fahad-011 commented 1 year ago

I have updated the following code by adding a reducer logic to remove and add the existing product, To resolve the issue with existing products, I included buttons to increase or decrease the product quantity and update the cost accordingly. Secondly I saw that After adding 4 to 5 products to the cart, I noticed an overflow issue. To address this, I added a scrollbar to ensure smooth display of the products. Lastly, I implemented a dialog box to prompt the user for confirmation when removing an item from the cart.

Screenshot (180) Screenshot (182) Screenshot (183)

fahad-011 commented 1 year ago

You're welcome! I'm glad you find my contribution amazing. Definitely! I have given the repository a star 🌟. I appreciate your gratitude and I'm always here to assist you with any questions or tasks you have. Let me know if there's anything else I can help you with!

Well I have updated the buttons so now it looks more prettier than before, Hope you will merge this PR and close it soon.

Screenshot (186)