NoMise_Store
NoMise_Store copied to clipboard
Complete the Cart Functionality
- Align +, - buttons in cart correctly
- analyze the edge cases in cart. for ex. User can't add items more than the stock available, User can not click on Buy and add to cart if there is no stock
I can do it
Yes, you can pick this up.
- create a new branch
- you can use this board to update your progress
- Should i assign this to you ?
Yes please. Assign this one to me
First i need to fix issue with adding multiple same products to the cart.
I will do this first and submit PR so we know if you ok with it
Fix for the above https://github.com/AlphaDecodeX/NoMise_Store/pull/8
🚀 Till now:-
✅ Added Redux functionality to the CartService, where whenever you'll click on ADD_PRODUCT, we will dispatch an event and add that product into a set (to remove duplication) and it is happening under cartService.ts
🧐 You can go through its flow to see the working and similar flow can be implemented for REMOVE_PRODUCT, ADD_QUANTITY_OF_PRODUCT, SUBSTRACT_QUANTITY_OF_PRODUCT etc