This project demonstrates a sample ecommerce cart page implemented using React and the Context API for state management.
- Cart Management:
- Add and remove items from the cart.
- Increment and decrement item quantities.
- Real-time Calculations:
- Dynamically calculate and display the total quantity and total price of items in the cart.
- Display subtotal for each item.
- Empty Cart Handling:
- Displays a message when the cart is empty.
- Responsive Layout:
- Uses Bootstrap for a responsive and clean user interface.
- Context API:
- Uses React's Context API for efficient state management across the cart page