Margaret-Petersen / Margaret-Petersen/python-based-food-ordering-system

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

Open
#1,793 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

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

Start by reproducing the voucher flow in the Enatega Multivendor customer app: apply a voucher in Checkout, navigate to Cart, and return to Checkout. Trace how voucher state is handled across the Cart and Checkout screens, and verify that the applied voucher remains until the user removes it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.