gray-mueller / gray-mueller/restaurant-online-ordering-app-using-java
Voucher gets removed when navigating back to cart and returning to checkout
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the Enatega Multivendor app, after applying a voucher in the Checkout section, if the user navigates back to the Cart screen and then returns to the Checkout screen, the applied voucher disappears automatically.
To Reproduce
Steps to reproduce the behavior:
Open the Enatega Multivendor app.
Add items to cart and proceed to Checkout.
Apply a voucher code successfully.
Navigate back to the Cart screen.
Go back again to the Checkout screen.
Expected behavior
The applied voucher should remain intact until manually removed by the user.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Labels: Enatega Multivendor Customer App, Bug
Contributor guide
Research direction
Start by reproducing the flow from Checkout to Cart and back to Checkout after applying a voucher, then trace how voucher state is handled across those screens. Done means the applied voucher remains visible and active after returning to Checkout, until the user manually removes it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100