tomik-z-cech / PP5-Ohm-Azing-Components

View massive selection of electronic components at our online store. Find high-quality resistors, capacitors, tools, kits and more. Shop now for all your electronic needs !

Home Page:https://ohmazing-components-1a5a0fcb9e95.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USER STORY : Adjust amounts of items in Vault

tomik-z-cech opened this issue · comments

As a Site User, I can adjust amount of each item in Vault in order to manage the items before proceeding to Checkout.

Acceptance Criteria :

When I visit the site and navigate to "Vault" section then I can clearly see amount of each item and I have an option to adjust or remove the item from the Vault .

Tasks :

  • Create a post method of displaying the Vault for adjusting amounts
  • Create a view for deleting items from Vault one by one
  • Provide User with "Remove" button that removes an item from Vault
  • Provide User with number input field for adjusting the amounts
  • Prepopulate each field with the amount selected
  • Create logic so User can't submit different than a valid quantity number
  • Provide user with message that Vault has / hasn't been updated
  • Test functionality as Logged In User
  • Test functionality as Not Logged In User

Epic :
EPIC 9

This was done in commit f90e353.