Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

...

UI Home Delivery

UI Mobile Ordering

Geolocation Disabled

...

If the customer chooses not share their location:

...

UI Home Delivery

UI Mobile Ordering

Feature Flag

...

Info

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

Lokalise Keys

Key

Description

Default value in english

youAreFarFromThisAddress

Notification alerting the customer that they are far from the selected address and asking for confirmation.

"You are far from this address. Is this correct?"

youAreFarFromThisRestaurant

Notification alerting the customer that they are far from the selected restaurant and asking for confirmation.

"You are far from this restaurant. Is this correct?"

youAreSelectingNewAddress

Notification indicating that the customer is about to select a new address and asks for confirmation.

"You are selecting a new address. Is this correct?"

youAreSelectingNewRestaurant

Notification indicating that the customer is about to select a new restaurant and asks for confirmation.

"You are selecting a new restaurant. Is this correct?"

yesDeliverHere

Confirmation response indicating the customer agrees to delivery at the selected address.

"Yes, Deliver Here"

noChangeAddress

Response indicating the customer does not wish to change the delivery address.

"No, Change Address"

yesOrderHere

Confirmation response indicating the customer agrees to place an order at the selected location.

"Yes, Order Here"

noChangeRestaurant

Response indicating the customer does not wish to change the restaurant selection.

"No, Change Restaurant"