gray-mueller / gray-mueller/online-food-ordering-solution-using-react-js

Enatega Website: Placing an order on a store throws validation message that "Restaurant is not available right now"

Open
#563 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 placing an order on a store, it throws a validation message that "Restaurant is not available right now"

To Reproduce
Steps to reproduce the behavior:

Add an item to the cart from store.
Go to the checkout page.
Click on "Click to order".
observe that it throws validation message that "Restaurant is not available right now "
*Expected behavior
Validation message should not be shown until the restaurant is not closed.

Desktop (please complete the following information):

OS: [Windows]
Browser [chrome]

Labels: Enatega Website, Bug

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the checkout flow in Chrome: add an item from a store, open checkout, and click "Click to order". Trace the checkout/order validation entry point that produces "Restaurant is not available right now" and verify the fix by confirming orders from open restaurants proceed while closed restaurants still show the validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.