gray-mueller / gray-mueller/liquor-ordering-app-node-js

When the user is out of zone and on checkout screen the popup is being shown saying "Result not defined".

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

Is your feature request related to a problem? Please describe.
When the user selects the zone and orders the food and then adds the address and that address is out of the delivering zone then this error is being produce.

Describe the solution you'd like
When this scenario happens then at the place order screen there should be a popup saying "We don't deliver in this area. Please add your address correctly." And after adding the address again the user should be redirected to the place order/checkout screen.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the checkout flow with an address outside the selected delivery zone, then search the TypeScript code for the "Result not defined" message and the delivery-zone validation. Done means the checkout shows the requested non-delivery message, allows the address to be corrected, and returns the user to the place-order screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.