gray-mueller / gray-mueller/grocery-delivery-app-using-php

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

Open
#44 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
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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.