Overview
This issue tracks the implementation and improvements for the Basket (shopping cart) page. Several features are partially implemented and require validation or completion for a smooth checkout flow.
What's Implemented (or Partial)
- Page title with icon
- (Currently duplicated; keep only the basket icon)
- List of items with total quantity:
- Product listed with: image, name, price and unit, button to change quantity, total value per product (synchronized with navbar and total value; needs validation), and remove button (trash can icon; consider adding a removal confirmation pop-up)
- Separate line to display shipping value per product (currently returning NaN; logic and display need to be fixed)
- Order summary:
- Subtotal with item values
- Total delivery value (currently returning NaN; needs fix)
- Field for entering coupon (needs integration for validation and applying discount)
- Tag showing how many points will be earned with the order (logic not implemented, currently NaN)
- Buttons: return to shopping or proceed to checkout
What Needs Implementation
Backend - Basket (Cart) Service
Observations
- Validate all calculations (subtotal, shipping, points, discounts) with real data and backend integration
- Ensure user feedback is clear for all actions (removal, coupon application, errors)
- Maintain consistency with the basket icon throughout the marketplace
Overview
This issue tracks the implementation and improvements for the Basket (shopping cart) page. Several features are partially implemented and require validation or completion for a smooth checkout flow.
What's Implemented (or Partial)
What Needs Implementation
Backend - Basket (Cart) Service
Expose API endpoints for CRUD operations on basket items (add, update, remove, clear)
Observations