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

USER STORY: Updating and Removing Items #33

Closed
7 tasks done
MoniPar opened this issue May 10, 2023 · 0 comments
Closed
7 tasks done

USER STORY: Updating and Removing Items #33

MoniPar opened this issue May 10, 2023 · 0 comments
Labels
5 Story points Should Have Add significant value but not vital

Comments

@MoniPar
Copy link
Owner

MoniPar commented May 10, 2023

As a Customer, I can update the quantity of each item in my basket, so that I can easily make changes to my order before checkout.

Acceptance Criteria

  1. The Customer is able to update the quantity of each individual item in their basket via the update link.
  2. The Customer is able to remove a product from their basket via the remove link.
  3. The Customer is able to see the subtotal for the amount of each product in their basket.

Tasks

  • Create links in the basket template for updating and removing items
  • Write the JS to handle these two elements being clicked
  • Write the views to handle updating item quantities and removing them from the basket
  • Connect up the URLs for the views
  • Add the action URL to the form in the basket template
  • Create a bag tools module to handle the subtotal calculation function and register it as a template filter
  • Load the filter in the basket template
@MoniPar MoniPar added 5 Story points Could Have Have small impact if left out labels May 10, 2023
@MoniPar MoniPar added this to the Shopping Basket milestone May 10, 2023
@MoniPar MoniPar added Should Have Add significant value but not vital and removed Could Have Have small impact if left out labels May 12, 2023
@MoniPar MoniPar closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 Story points Should Have Add significant value but not vital
Projects
Status: Done
Development

No branches or pull requests

1 participant