text# Feature Shopping Cart
Feature ID | FEA034 |
Subsystem the feature is part of | E-Commerce |
Responsible person | Developers |
Status | In Progress |
Description
The Shopping Cart feature allows users to add, remove, and manage items before making a purchase. It provides an intuitive interface for reviewing order details and applying discounts or promo codes.
Restrictions, requirements and use cases related to this feature
All relevant issues related to or contributing to the definition of the feature are gathered here
[Use Case 1] | A user adds multiple items to the cart and proceeds to checkout |
FUNC-REQ-O0020 | Users must be able to add and remove products from the cart |
FUNC-REQ-O0021 | The cart must display total price, quantity, and applied discounts |
FUNC-REQ-O0022 | The cart should persist across user sessions for logged-in users |
Preliminary user stories
-
133 As a user, I want to add and remove items from my cart before checkout.
-
134 As a user, I want to see the total price, including discounts and taxes.
-
135 As a user, I want my cart to be saved even if I leave the website and return later.
Implementation
- Develop a responsive shopping cart interface.
- Enable real-time updates when adding or removing items.
- Implement price calculation, including taxes and discounts.
- Store cart data in session storage for guests and in the database for logged-in users.
- Provide a clear "Proceed to Checkout" button.
Testing / possible acceptance criteria
Write down some notions for testing
Testcase | Test source | Responsible |
---|---|---|
Testcase 1 | FUNC-REQ-O0020 | Testers |
Testcase 2 | FUNC-REQ-O0021 | Testers |
Testcase 3 | FUNC-REQ-O0022 | Testers |
Testcase 4 | ECOM-REQ-0160 | Testers |
Testcase 5 | ECOM-REQ-0165 | Testers |
Testcase 6 | ECOM-REQ-0170 | Testers |