HackYourFuture-CPH / fp-class18

Interior design webshop
MIT License
1 stars 0 forks source link

Frontend: Add functionalities to the Shopping Cart Page Buttons (REVIEW ORDER & KEEP SHOPPING) #239

Closed BikramRawat closed 2 years ago

BikramRawat commented 2 years ago

User Story

Who: As a user What: I want to review my order on clickingREVIEW-ORDER button, and continue shopping without checkout by clicking on KEEP SHOPPINGbutton Why: so that user can have good user experience. User can have choice whether to continue shopping and be redirected to the Lading Page(homepage) or can navigate to Order Review Page and continue to payment (or checkout)

Acceptance criteria

When a user clicks the button : REVIEW-ORDER it should navigate to Order Review Page : PR #140 & Issue #93 and when a user clicks KEEP SHOPPINGbutton it should navigate to the homepage : PR #96 & Issue #76 The buttons are displayed on the shopping cart page as given in the picture below: cart page

Implementation details

Need to add function onClick to both the buttons so that it links to the desired page.

Note: when user choose to continue shopping the order info is saved to the local storage context : PR #212

Wireframes

Check the wireframes here