marthaegrimaldi/restaurant-ordering-app-template

Restaurants with High Delivery Charges Should Not Be Displayed Outside Delivery Area

Open

#72 opened on Dec 24, 2024

 (0 comments) (0 reactions) (0 assignees)JavaScript (2 forks)auto 404
Enatega Multivendor Customer Appbuggood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug Some restaurants (e.g., Farm Fresh - Wadi Halfa) in the Enatega app have very high delivery charges due to their location being far from the user's delivery address. These restaurants should not be displayed if they lie outside the delivery premises or serviceable area.

To Reproduce

  1. Open the Enatega app.
  2. Set a delivery address that is far from certain restaurants (e.g., Delish Bites Co.).
  3. Browse through the list of available restaurants.
  4. Observe that some restaurants with high delivery charges are still displayed in the search results.

Expected behavior

Restaurants that fall outside the delivery service area or have prohibitively high delivery fees due to distance should not be displayed in the list of available restaurants.

Actual Behaviour Restaurants that are located far from the delivery address are still displayed, despite the high delivery fee.

Smartphone (please complete the following information):

  • Device: iPhone15pro
  • OS: iOS17.6.1

Contributor guide