marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native
Enatega Website: Placing an order on a store throws validation message that "Restaurant is not available right now"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the checkout page's "Click to order" flow and reproduce the validation message using the listed Windows and Chrome setup. Trace the order attempt to determine why an open store is treated as unavailable. Done means an order from an open store no longer shows this message, while the reproduction steps remain valid for a closed store.
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
- 63/100