Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cart Management #46

Closed
faid-terence opened this issue Jul 2, 2024 · 0 comments · Fixed by #55
Closed

Cart Management #46

faid-terence opened this issue Jul 2, 2024 · 0 comments · Fixed by #55
Assignees

Comments

@faid-terence
Copy link
Collaborator

faid-terence commented Jul 2, 2024

Description
Why

Adding items to the cart is an essential functionality for any e-commerce website, as it allows buyers to select the items they want to purchase and proceed to checkout.

Acceptance criteria:

GIVEN that the buyer is on a product page

WHEN the buyer selects a quantity and clicks the ""Add to Cart"" button
THEN the item should be added to the buyer's cart and the buyer should see a confirmation message
GIVEN that the buyer is on a product page with an item in their cart
WHEN the buyer clicks the ""View Cart"" button or a button to view the cart without leaving the current page (optional)
THEN the buyer should be able to view their cart and the added item
Dev notes:

The form for selecting quantity should allow for positive integers only.
The ""Add to Cart"" button should be disabled if the quantity is not a positive integer.
The confirmation message should include the name and quantity of the added item.
The optional feature to view the cart without leaving the current page should be implemented using an overlay or a modal window

MC-Knight added a commit that referenced this issue Jul 5, 2024
…mponent and cart managment for both guest and authenticated users functionalities to our frontend project. Resolves:#46
MC-Knight added a commit that referenced this issue Jul 7, 2024
…mponent and cart managment for both guest and authenticated users functionalities to our frontend project. Resolves:#46
MC-Knight added a commit that referenced this issue Jul 7, 2024
…mponent and cart managment for both guest and authenticated users functionalities to our frontend project. Resolves:#46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants