gray-mueller / gray-mueller/food-ordering-app-clone-using-react-js

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

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
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

Research direction

Start by locating the customer app's cart item Edit action and the navigation logic it triggers, then reproduce the issue with an item from a specific store. Trace how the original store is represented for cart items and verify that editing returns to that store page while preserving the ability to modify the item.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
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.