lambertf917 / lambertf917/react-native-uber-eats-clone

Voucher gets removed when navigating back to cart and returning to checkout

Open
#2,431 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3
Forks
5
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the flow in the Checkout and Cart screens by applying a voucher, navigating back, and returning to Checkout. Trace how the voucher state is handled across this navigation; done means the applied voucher remains until the user manually removes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.