marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native

Enatega Customer App: Edit Order in Cart Redirects to Discovery Screen Instead of Original Store

Open
#450 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When a user attempts to edit an item from their cart, the app incorrectly redirects them to the Discovery screen rather than the store page from which the order was originally placed. This disrupts the editing flow, confuses users, and makes it difficult for them to make changes to their selected items.

Steps to Reproduce:

Add an item from a specific store to the cart.
Go to the cart and click on Edit for any item.
Observe that the app redirects to the Discovery screen instead of taking the user back to the original store.
Expected behavior
Clicking "Edit" on a cart item should take the user directly to the original store's page, with the ability to modify the selected item.

Smartphone (please complete the following information):

Device: [e.g. Infinix HOT 50]
OS: [e.g. Android ]
Browser [e.g. Application]
Version [e.g. Latest]

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 cart Edit flow described in the issue, then trace the cart item's navigation entry point and how its original store is identified. Update the flow so Edit opens that store rather than Discovery, and verify that the item can be modified from the original store page.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.