USER STORY : Add to Wishlist
tomik-z-cech opened this issue · 1 comments
tomik-z-cech commented
As a Site User, I need to be able to add items to my Wishlist in order to see keep the items I am interested in separately.
Acceptance Criteria :
Logged in User :
When I click "Add to Wishlist" toggle then the item toggles in Wishlist.
Not Logged in User :
Doesn't have that option.
Tasks :
- Provide user with "Add to Wishlist" / "Remove from Wishlist" toggle button
- Create view in
views.py
- Adjust
item_detail.html
template - Ensure the view communicates with
context_list.py
nested in wishlist app - Add logic to toggle item in Wishlist
- Provide user with message that item was added / removed to / from the Wishlist
- Protect the view to only logged in users
- Test functionality as Logged in User
- Test functionality as Not Logged in User
Epic :
EPIC 7
tomik-z-cech commented
This was done in commit 618624a.