From 47a6f67dacaed219c9fa7933bdaf8c398d8007f7 Mon Sep 17 00:00:00 2001 From: Valentin Fayard Date: Tue, 15 Jun 2021 11:06:32 +0200 Subject: [PATCH 1/3] Set shopStatus observable by calling prepareShopStatus() in store-map.js Fix missing line from this commit : https://github.com/Smile-SA/magento2-module-store-delivery/commit/06611a1e0831b58d4fff259b04cb95e909af0458 --- view/frontend/web/js/view/checkout/shipping/store-map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/view/frontend/web/js/view/checkout/shipping/store-map.js b/view/frontend/web/js/view/checkout/shipping/store-map.js index b42d863..6a934d2 100644 --- a/view/frontend/web/js/view/checkout/shipping/store-map.js +++ b/view/frontend/web/js/view/checkout/shipping/store-map.js @@ -118,6 +118,7 @@ define([ this.currentRetailerId(markerData.id); }.bind(this)); markers.push(marker); + markerData.shopStatus(this.prepareShopStatus(markerData)); }.bind(this)); var group = new L.featureGroup(markers); From a1e3cbe2ca95d157effd8eadc4150d34ca4f80a1 Mon Sep 17 00:00:00 2001 From: Valentin Fayard Date: Wed, 16 Jun 2021 17:14:55 +0200 Subject: [PATCH 2/3] Remove multiple icons in shop-status by fixing ambiguous css rule Since last versions of StoreLocator module (>=2.0.3), shopStatus value contains child elements of .showopeninghours The preivous css rule (fixed in StoreLocator) was adding multiple icons (foreach span element) --- view/frontend/web/css/source/_module.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/frontend/web/css/source/_module.less b/view/frontend/web/css/source/_module.less index 700bdec..a8226ea 100644 --- a/view/frontend/web/css/source/_module.less +++ b/view/frontend/web/css/source/_module.less @@ -67,7 +67,7 @@ body.checkout-index-index { font-weight: bold; font-size: 13px; - :after { + &:after { content: @icon-down; display: inline-block; font-family: @icons__font-name; @@ -81,7 +81,7 @@ body.checkout-index-index { } .showopeninghours.active { - :after { + &:after { content: @icon-up; } } From da2ed9d695060115e607db2917b3c67fa2097ef7 Mon Sep 17 00:00:00 2001 From: Valentin Fayard Date: Fri, 9 Jul 2021 17:06:28 +0200 Subject: [PATCH 3/3] Bigger openinghours icon in store details --- view/frontend/web/css/source/_module.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/css/source/_module.less b/view/frontend/web/css/source/_module.less index a8226ea..e118d06 100644 --- a/view/frontend/web/css/source/_module.less +++ b/view/frontend/web/css/source/_module.less @@ -74,7 +74,7 @@ body.checkout-index-index { vertical-align: top; margin: 0; color: inherit; - font-size: 10px; + font-size: 22px; line-height: 22px; margin-left: 10px; }