From 885056f337fe07699869cf4197e37a206833a3d3 Mon Sep 17 00:00:00 2001 From: livca Date: Thu, 16 Nov 2023 16:33:59 +0100 Subject: [PATCH] Search by partial zipcode is handle by map/geocoder provider - openstreetmap and google map does not have same result on same search - so add config on search placeholder to be able to correctly advice customer during search --- Block/Checkout/LayoutProcessor.php | 1 + view/frontend/layout/checkout_index_index.xml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Block/Checkout/LayoutProcessor.php b/Block/Checkout/LayoutProcessor.php index d71bfbb..bd6c8c1 100644 --- a/Block/Checkout/LayoutProcessor.php +++ b/Block/Checkout/LayoutProcessor.php @@ -63,6 +63,7 @@ public function process($jsLayout) $storeDelivery['provider'] = $this->map->getIdentifier(); $storeDelivery['markers'] = $markers; + $storeDelivery['searchPlaceholderText'] = $this->storeLocatorHelper->getSearchPlaceholder(); $storeDelivery = array_merge($storeDelivery, $this->map->getConfig()); // @codingStandardsIgnoreStart diff --git a/view/frontend/layout/checkout_index_index.xml b/view/frontend/layout/checkout_index_index.xml index e36b393..9efd013 100644 --- a/view/frontend/layout/checkout_index_index.xml +++ b/view/frontend/layout/checkout_index_index.xml @@ -70,7 +70,6 @@ smile-geocoder Find a store : - City, Zipcode, Department, ... Search