Summary
The “Inform customer that they are far away” feature has been implemented to enhance the customer experience by notifying them when they are in a distant location relative to their selected address or store. This notification will be displayed in a modal and follows specific rules based on the customer's geolocation preferences.
Geolocation enabled:
If the customer has the geolocation enabled:
And places home delivery orders: The app compares the selected delivery address with the customer's current location. A modal will be shown if the selected address is considered 1 km distant.
And places mobile ordering orders (eat-in, take-away, table service, etc): The system checks the distance between the customer's location and the selected store. A modal notification will trigger if the store is considered 1 km far away.
UI Home Delivery | UI Mobile Ordering |
---|---|
Geolocation Disabled:
If the customer chooses not share their location:
The system uses the address from the customer's last successful order for delivery, or the last store visited for mobile ordering. A modal will alert the customer if this address is different from the currently selected address.
If none of these conditions are met, the flow will continue without displaying the modal.
UI Home Delivery | UI Mobile Ordering |
---|---|
Feature Flag:
Until the creation of this documentation, the new changes are protected by a feature flag. In the future, this flag will be removed, and the feature will be available to all markets.
Feature Flag | Value |
---|---|
enable-distance-warning | Enabled or Disabled |