lambertf917 / lambertf917/food-ordering-system-source-code

Edit Button on Cart Page Redirects to Main Screen Instead of Restaurant’s Menu

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

Nobody has claimed this yet.

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

Description

Describe the bug
On the cart page in the customer app, when the Edit button is clicked, the app redirects the user to the main screen/home page instead of navigating to the specific restaurant’s menu where the items in the cart were originally selected. This causes confusion and breaks the expected flow of editing an order.

To Reproduce
Steps to reproduce the behavior:

Add items from a specific restaurant to the cart

Go to the cart page

Tap on the Edit button

Observe that the app redirects to the main screen, not the restaurant’s menu

Expected behavior
Clicking the Edit button should take the user directly to the menu of the same restaurant the order belongs to, so they can modify it seamlessly.

Screenshots

Smartphone (please complete the following information):

Device: Samsung A15

OS: Android 14

App Version: [add if known]

Additional context
This is a navigation issue that disrupts the user's ability to efficiently edit their cart items and should be addressed to maintain a smooth ordering experience.

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 flow in the customer app: add items from one restaurant, open the cart, and tap Edit. Trace the Cart page's Edit navigation and verify that it opens the menu for the restaurant associated with the cart; done when it no longer redirects to the main screen.

Written by the indexing model from the issue text.

Assessment

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