Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

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

Open
#1,864 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
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

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 checkout flow in the Enatega Website: add a store item, open checkout, and click "Click to order" while the restaurant is open. Trace the order submission validation that produces the availability message; done means an order can proceed without that message when the restaurant is not closed.

Written by the indexing model from the issue text.

Assessment

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