Skip to content

RSS-ECOMM-4_11: Modify Quantity of Products in CartΒ #202

@Friday-13

Description

@Friday-13

πŸ”’πŸ”„ Issue RSS-ECOMM-4_11: Modify Quantity of Products in Cart (15 points)

πŸ“πŸ“š Description

To give users πŸ§‘β€πŸ’» flexibility in managing their shopping cart πŸ›’, implement a feature that allows them to modify the quantity πŸ”’ of each product in their cart. This feature should also integrate with the commercetools API πŸ”— to update the corresponding data πŸ”„ and recalculate the total cost πŸ’² accordingly.

πŸ’»πŸ”§ Implementation Details

  1. Quantity Modification Interface πŸ”’πŸ–±οΈ: Include an interface element (like an input box πŸ“₯ or spinner πŸ”„) that allows users to change the quantity of a product in their cart.
  2. Data Updating πŸ”„: When a user changes the quantity of a product, the application should make the necessary API call πŸ”— to update the cart data in the backend.
  3. Total Cost Recalculation πŸ’²πŸ”„: After the cart data is updated, recalculate the total cost of the cart and update the total cost displayed to the user.

βœ…πŸŽ― Acceptance Criteria

  • Users can modify the quantity of each product in their cart πŸ›’.
  • The application updates the cart data πŸ”„ using the commercetools API πŸ”— when the quantity of a product is modified.
  • The application recalculates and displays the updated total cost πŸ’² when the quantity of a product is modified.

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

  1. Commercetools API Documentation πŸ“˜
  2. Commercetools Cart and Order API πŸ›’
  3. Commercetools Update Cart πŸ”ƒ
  4. Commercetools My Carts πŸ›οΈ
  5. Commercetools Change LineItem Quantity πŸ”’

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions