diff --git a/Block/Catalog/Product/Retailer/Availability.php b/Block/Catalog/Product/Retailer/Availability.php
index dec4723..53dbd47 100644
--- a/Block/Catalog/Product/Retailer/Availability.php
+++ b/Block/Catalog/Product/Retailer/Availability.php
@@ -66,6 +66,23 @@ public function getJsLayout()
$jsLayout['components']['catalog-product-retailer-availability']['searchPlaceholderText'] = $this
->helperConfig->getSearchPlaceholder();
+ // smile-geocoder child
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['geocoder']['provider'] = $this->map
+ ->getIdentifier();
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['geocoder'] = array_merge(
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['geocoder'],
+ $this->map->getConfig()
+ );
+
+ // smile-map child
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['map']['provider'] = $this->map
+ ->getIdentifier();
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['map']['markers'] = $this->getStoreOffers();
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['map'] = array_merge(
+ $jsLayout['components']['catalog-product-retailer-availability']['children']['map'],
+ $this->map->getConfig()
+ );
+
return json_encode($jsLayout);
}
diff --git a/view/frontend/layout/catalog_product_view.xml b/view/frontend/layout/catalog_product_view.xml
index dc25de3..098f832 100644
--- a/view/frontend/layout/catalog_product_view.xml
+++ b/view/frontend/layout/catalog_product_view.xml
@@ -16,7 +16,16 @@