diff --git a/resources/lang/en/default.php b/resources/lang/en/default.php index 0b02a0e..6c080ed 100644 --- a/resources/lang/en/default.php +++ b/resources/lang/en/default.php @@ -126,7 +126,6 @@ 'alert_option_selected' => 'The number of selected options for %s must be between %s and %s.', 'alert_qty_is_invalid' => 'Selected quantity is not divisive by the minimum quantity of %s.', 'alert_qty_is_below_min_qty' => 'Selected quantity is below the menu\'s minimum quantity of %s.', - 'alert_no_search_query' => 'Please type in a postcode/address to check if we can deliver to you.', 'alert_location_closed' => 'Sorry, you can\'t place an order now, we are currently closed,
please come back later during our opening times.', 'alert_min_delivery_order_total' => 'Order total is below the %s minimum order total.
You need to spend more to order.', 'alert_min_order_total' => 'Order total is below the %s minimum order total.
You need to spend more to order.', diff --git a/src/Classes/CartManager.php b/src/Classes/CartManager.php index 2d1f49e..30e2763 100644 --- a/src/Classes/CartManager.php +++ b/src/Classes/CartManager.php @@ -311,7 +311,7 @@ public function validateLocation() } if ($this->location->orderTypeIsDelivery() && $this->location->requiresUserPosition() && !$this->location->userPosition()->isValid()) { - throw new ApplicationException(lang('igniter.cart::default.alert_no_search_query')); + throw new ApplicationException(lang('igniter.local::default.alert_no_search_query')); } }