hector-jewell / hector-jewell/uber-eats-clone-using-react-native
Enatega Website: Placing an order on a store throws validation message that "Restaurant is not available right now"
- Dominant language
- JavaScript
- Stars
- 1
- 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
Research direction
Start by reproducing the checkout flow described: add an item from a store, open checkout, and click “Click to order.” Trace the restaurant-availability validation and verify why it rejects an open restaurant. Done means the message is not shown for an open restaurant and still appears when the restaurant is closed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100