Skip to content

RSS-ECOMM-4_18: Implement "Clear Shopping Cart" ButtonΒ #190

@Friday-13

Description

@Friday-13

πŸ›’πŸ—‘οΈ Issue RSS-ECOMM-4_18: Implement "Clear Shopping Cart" Button (10 points)

πŸ“πŸ“š Description

Implement a feature that allows users to clear all items from their shopping cart at once πŸ›οΈ. This feature should be easy to access πŸ–±οΈ but designed to prevent accidental usage 🚫.

πŸ’»πŸ”§ Implementation Details

  1. "Clear Shopping Cart" Button πŸ—‘οΈ: This button should be prominently displayed within the user's shopping cart interface πŸ›’. It should be clearly labeled 🏷️ to avoid any confusion about its functionality.
  2. Functionality πŸš€: When clicked, the "Clear Shopping Cart" button should remove all items from the user's shopping cart and update the cart data in the commercetools API πŸ”„.

βœ…πŸŽ― Acceptance Criteria

  • The shopping cart interface includes a "Clear Shopping Cart" button πŸ—‘οΈ.
  • Clicking the "Clear Shopping Cart" button removes all items from the shopping cart πŸ›’.
  • A confirmation prompt appears when the "Clear Shopping Cart" button is clicked 🚦.

πŸ“˜πŸ”— Useful Links and Resources

  1. Commercetools Delete Cart
  2. Creating buttons with HTML
  3. Button Styling in CSS

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions