wickes-css2 2.113.0-develop.2 → 2.113.0-develop.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/Readme.md +1 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/checkout-payment-details-v2.css +1 -1
  4. package/build/css/components/checkout-payment-repayment-terms.css +1 -1
  5. package/build/css/components/global-search.css +1 -1
  6. package/build/css/components/price-block-v2-critical.css +1 -1
  7. package/build/css/components/price-block-v2.css +1 -1
  8. package/build/css/components/store-locator-facilities.css +1 -1
  9. package/build/css/components/store-locator-lookup.css +1 -1
  10. package/build/css/components/tile-calculator.css +1 -1
  11. package/build/css/homepage-main.css +1 -1
  12. package/build/css/kitchen-plp-main.css +1 -1
  13. package/build/css/main.css +1 -1
  14. package/build/css/my-account-main-v2.css +1 -1
  15. package/build/css/my-account-main.css +1 -1
  16. package/build/css/pages/checkout-new.css +1 -1
  17. package/build/css/pages/checkout.css +1 -1
  18. package/build/css/pages/my-account-v2.css +1 -1
  19. package/build/css/pages/my-account.css +1 -1
  20. package/build/css/pages/page_address-book.css +1 -1
  21. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  22. package/build/css/pages/page_default-store.css +1 -1
  23. package/build/css/pages/page_discount.css +1 -1
  24. package/build/css/pages/page_fi.css +1 -1
  25. package/build/css/pages/page_in-store-checkout.css +1 -1
  26. package/build/css/pages/page_merged-basket.css +1 -1
  27. package/build/css/pages/page_my-order.css +1 -1
  28. package/build/css/pages/page_my-orders.css +1 -1
  29. package/build/css/pages/page_product-details-critical.css +1 -1
  30. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  31. package/build/css/pages/page_product-details-v2.css +1 -1
  32. package/build/css/pages/page_product-details.css +1 -1
  33. package/build/css/pages/page_products-list-combined.css +1 -1
  34. package/build/css/pages/page_products-list_v2.css +1 -1
  35. package/build/css/pages/page_shopping-cart-v2.css +1 -1
  36. package/build/css/pages/page_store-locator-details.css +1 -1
  37. package/build/css/pages/page_store-locator.css +1 -1
  38. package/build/css/pages/page_ti.css +1 -1
  39. package/build/css/pages/tradePro-discount.css +1 -1
  40. package/build/css/pages/tradePro-rewards-old.css +1 -1
  41. package/build/css/pages/tradePro-rewards.css +1 -1
  42. package/build/css/pdp-main-before-combine.css +1 -1
  43. package/build/css/pdp-main-critical.css +1 -1
  44. package/build/css/pdp-main-non-critical.css +1 -1
  45. package/build/css/pdp-main.css +1 -1
  46. package/build/css/plp-main.css +1 -1
  47. package/build/css/shopping-list-pdf.css +1 -1
  48. package/build/css/store-locator-main.css +1 -1
  49. package/build/img/emulation/low-trees.png +0 -0
  50. package/build/img/emulation/overhead-power-cables.png +0 -0
  51. package/build/img/emulation/parked-vehicles.png +0 -0
  52. package/build/img/emulation/traffic-access-issues.png +0 -0
  53. package/build/img/emulation/walls-or-fences.png +0 -0
  54. package/build/js/account-members.min.js +1 -1
  55. package/build/js/add-project-list-id.min.js +1 -1
  56. package/build/js/address-book.min.js +1 -1
  57. package/build/js/basket.min.js +2 -2
  58. package/build/js/bloomreach-widget.min.js +1 -1
  59. package/build/js/bundle.min.js +1 -1
  60. package/build/js/change-password.min.js +1 -1
  61. package/build/js/checkout.min.js +2 -2
  62. package/build/js/emulation.min.js +477 -3271
  63. package/build/js/general.bundle.min.js +1 -1
  64. package/build/js/gift-cards.min.js +1 -1
  65. package/build/js/kitchen/kitchen-plp.min.js +1 -1
  66. package/build/js/merged-checkout.min.js +2 -2
  67. package/build/js/package-bulk-add.min.js +1 -0
  68. package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +319 -0
  69. package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +390 -0
  70. package/build/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
  71. package/build/js/page/bloomreach-widget/bloomreach-widget.js +13 -237
  72. package/build/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
  73. package/build/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
  74. package/build/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
  75. package/build/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
  76. package/build/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
  77. package/build/js/page/bloomreach-widget/complete-your-project/view.js +184 -0
  78. package/build/js/page/bloomreach-widget/complete-your-project/widget.js +184 -0
  79. package/build/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
  80. package/build/js/page/bloomreach-widget/similar-products-widget.js +17 -0
  81. package/build/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
  82. package/build/js/page/plp-load-more.js +81 -66
  83. package/build/js/page/ripple/bulk-add.js +71 -0
  84. package/build/js/page/ripple/package-bulk-add.js +43 -0
  85. package/build/js/page/ripple/postcode-checker.js +83 -0
  86. package/build/js/page/ripple/thumb-gallery.js +236 -0
  87. package/build/js/page/utils/validation.js +1 -1
  88. package/build/js/pdp.bundle.min.js +2 -2
  89. package/build/js/personal-details.min.js +1 -1
  90. package/build/js/plp.bundle.min.js +1 -1
  91. package/build/js/postcode-checker.min.js +1 -0
  92. package/build/js/project-list.min.js +2 -2
  93. package/build/js/quiz.min.js +1 -1
  94. package/build/js/track-my-order.min.js +1 -1
  95. package/package.json +4 -2
  96. package/src/badges-ripple.html +120 -0
  97. package/src/badges.html +9 -18
  98. package/src/components/base/button.hbs +7 -0
  99. package/src/components/bloomreach/complete-card.hbs +1 -1
  100. package/src/components/bloomreach/complete-your-project-skeleton.hbs +21 -0
  101. package/src/components/bloomreach/complete-your-project.hbs +6 -21
  102. package/src/components/bloomreach/why-not-add-card-skeleton.hbs +2 -2
  103. package/src/components/bloomreach/why-not-add-card.hbs +98 -60
  104. package/src/components/bloomreach/why-not-add-content.hbs +3 -3
  105. package/src/components/bloomreach/why-not-add.hbs +2 -2
  106. package/src/components/date-selection.hbs +19 -10
  107. package/src/components/fulfilment-accordions.hbs +1 -1
  108. package/src/components/heavy-banners-wrapper.hbs +21 -0
  109. package/src/components/image-accordion.hbs +18 -0
  110. package/src/components/kitchen/price.hbs +49 -29
  111. package/src/components/kitchen/strip-stickers.hbs +9 -3
  112. package/src/components/package-card.hbs +30 -0
  113. package/src/components/pdp-price-actions.hbs +17 -0
  114. package/src/components/postcode-checker.hbs +24 -0
  115. package/src/components/price-badges.hbs +12 -10
  116. package/src/components/price-block-v2.hbs +289 -199
  117. package/src/components/product-main-info-v2.hbs +2 -0
  118. package/src/components/suite-includes.hbs +66 -0
  119. package/src/components/suite-product-card.hbs +47 -0
  120. package/src/components/thumb-gallery.hbs +23 -0
  121. package/src/data/data_badges.json +143 -0
  122. package/src/data/data_bathroom-plp.json +814 -0
  123. package/src/data/data_heavy-banner.json +29 -0
  124. package/src/data/data_suite-includes-products.json +134 -0
  125. package/src/data/my-account/data_my-account.json +1 -1
  126. package/src/data/my-account/data_my-order.json +1 -1
  127. package/src/data/my-account/data_my-orders.json +1 -1
  128. package/src/img/emulation/low-trees.png +0 -0
  129. package/src/img/emulation/overhead-power-cables.png +0 -0
  130. package/src/img/emulation/parked-vehicles.png +0 -0
  131. package/src/img/emulation/traffic-access-issues.png +0 -0
  132. package/src/img/emulation/walls-or-fences.png +0 -0
  133. package/src/js/components/banner-placement-manager.js +25 -9
  134. package/src/js/components/general/cart-slider.js +41 -4
  135. package/src/js/components/general/image-accordion.js +54 -0
  136. package/src/js/components/general/switchVat.js +8 -1
  137. package/src/js/components/package-card.js +69 -0
  138. package/src/js/components/store-locator-cards.js +76 -0
  139. package/src/js/emulation/banner-placement-manager.js +219 -188
  140. package/src/js/emulation/bloomreach-widget-calculations.js +1 -1
  141. package/src/js/emulation/complete-your-project-loading.js +16 -0
  142. package/src/js/emulation/custom-slider-emulation.js +21 -8
  143. package/src/js/emulation/date-selection.js +2 -2
  144. package/src/js/emulation/dont-forget-loading.js +36 -0
  145. package/src/js/emulation/just-added-scenarios-emulation.js +131 -0
  146. package/src/js/emulation/mini-basket.js +34 -34
  147. package/src/js/emulation/mock.js +495 -38
  148. package/src/js/emulation/plp-load-more.js +13 -4
  149. package/src/js/emulation/postcode-checker.js +11 -0
  150. package/src/js/emulation/similar-products-loading.js +22 -0
  151. package/src/js/emulation/why-not-add-loading.js +14 -3
  152. package/src/js/emulation/why-not-add.js +12 -14
  153. package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +319 -0
  154. package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +390 -0
  155. package/src/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
  156. package/src/js/page/bloomreach-widget/bloomreach-widget.js +13 -237
  157. package/src/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
  158. package/src/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
  159. package/src/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
  160. package/src/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
  161. package/src/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
  162. package/src/js/page/bloomreach-widget/complete-your-project/view.js +184 -0
  163. package/src/js/page/bloomreach-widget/complete-your-project/widget.js +184 -0
  164. package/src/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
  165. package/src/js/page/bloomreach-widget/similar-products-widget.js +17 -0
  166. package/src/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
  167. package/src/js/page/plp-load-more.js +81 -66
  168. package/src/js/page/ripple/bulk-add.js +71 -0
  169. package/src/js/page/ripple/package-bulk-add.js +43 -0
  170. package/src/js/page/ripple/postcode-checker.js +83 -0
  171. package/src/js/page/ripple/thumb-gallery.js +236 -0
  172. package/src/js/page/utils/validation.js +1 -1
  173. package/src/page_bathroom-plp-vat.html +81 -0
  174. package/src/page_bathroom-plp-without-load-more.html +83 -0
  175. package/src/page_bathroom-plp.html +98 -0
  176. package/src/page_checkout_big-bulky-delivery-details.html +272 -0
  177. package/src/page_checkout_delivery-details-v2-calendar-not-loaded.html +167 -0
  178. package/src/page_checkout_payment-details-v2-asm.html +2 -3
  179. package/src/page_checkout_payment-details-v2.html +2 -3
  180. package/src/page_checkout_payment-details_with-card-loader.html +2 -3
  181. package/src/page_checkout_payment-details_with-klarna-loader.html +2 -3
  182. package/src/page_checkout_payment-details_with-loader-v2.html +2 -3
  183. package/src/page_checkout_premium-delivery-details.html +2 -2
  184. package/src/page_klarna_payment-details_with-klarna.html +2 -3
  185. package/src/page_payment-details-billie-registered-only.html +2 -3
  186. package/src/page_payment-details-billie-unregistered-only.html +2 -3
  187. package/src/page_payment-details-with-billie.html +2 -3
  188. package/src/page_payment-details-with-clearpay.html +2 -3
  189. package/src/page_payment-details-with-gift-card.html +2 -3
  190. package/src/page_payment-details_with_apple-pay.html +0 -1
  191. package/src/page_payment-details_with_google-pay.html +2 -3
  192. package/src/page_product-details-banner.html +1 -3
  193. package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
  194. package/src/page_product-details-big-wins-non-registered.html +1 -3
  195. package/src/page_product-details-big-wins-out-nearest.html +1 -3
  196. package/src/page_product-details-big-wins-unhappy.html +1 -3
  197. package/src/page_product-details-big-wins.html +1 -3
  198. package/src/page_product-details-billie.html +1 -3
  199. package/src/page_product-details-calculator.html +1 -3
  200. package/src/page_product-details-cashback-v2.html +1 -3
  201. package/src/page_product-details-clearpay.html +1 -3
  202. package/src/page_product-details-cnc-error-notification.html +1 -3
  203. package/src/page_product-details-cnc-success-notification-vat.html +1 -4
  204. package/src/page_product-details-cnc-success-notification.html +1 -3
  205. package/src/page_product-details-default-store.html +1 -3
  206. package/src/page_product-details-energy-efficiency.html +1 -3
  207. package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
  208. package/src/page_product-details-flooring.html +1 -3
  209. package/src/page_product-details-gallery-actual.html +1 -3
  210. package/src/page_product-details-mfe-calculator.html +1 -3
  211. package/src/page_product-details-mtm-doors.html +1 -3
  212. package/src/page_product-details-only-clearpay.html +1 -3
  213. package/src/page_product-details-paint-mixing.html +1 -3
  214. package/src/page_product-details-ripple-gallery-1-image.html +120 -0
  215. package/src/page_product-details-ripple-gallery-missing-image.html +121 -0
  216. package/src/page_product-details-ripple-gallery.html +121 -0
  217. package/src/page_product-details-saved-pl.html +1 -3
  218. package/src/page_product-details-suite-includes-banners.html +139 -0
  219. package/src/page_product-details-suite-includes-billie.html +128 -0
  220. package/src/page_product-details-suite-includes-klarna.html +120 -0
  221. package/src/page_product-details-suite-includes-vat.html +126 -0
  222. package/src/page_product-details-suite-includes.html +122 -0
  223. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
  224. package/src/page_product-details-tile-steps-logout.html +1 -3
  225. package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
  226. package/src/page_product-details-tile-steps-with-klarna.html +1 -3
  227. package/src/page_product-details-tile-steps.html +1 -3
  228. package/src/page_product-details-v2.html +1 -3
  229. package/src/page_product-details-vat.html +1 -3
  230. package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
  231. package/src/page_product-details-wisdom-mcfc.html +1 -3
  232. package/src/page_product-details-wisdom-oos-registered.html +1 -3
  233. package/src/page_product-details-wisdom-oos.html +1 -3
  234. package/src/page_product-details-wisdom-registered.html +1 -3
  235. package/src/page_product-details-wisdom.html +1 -3
  236. package/src/page_product-details-with-favourite.html +1 -3
  237. package/src/page_product-details-with-global-search-v2.html +6 -9
  238. package/src/page_product-details-with-similar-products-widget.html +132 -0
  239. package/src/page_product-details-with-why-not-add-single.html +2 -1
  240. package/src/page_product-details_no-previous-default.html +1 -3
  241. package/src/scss/common/_loading-button.scss +3 -1
  242. package/src/scss/components/_cards-slider.scss +3 -1
  243. package/src/scss/components/_checkout_order.scss +2 -1
  244. package/src/scss/components/_date-selection-add-new-styles.scss +53 -3
  245. package/src/scss/components/_gift-cards.scss +1 -1
  246. package/src/scss/components/_heavy-banners.scss +216 -0
  247. package/src/scss/components/_image-accordion.scss +54 -0
  248. package/src/scss/components/_kitchen-card.scss +1 -0
  249. package/src/scss/components/_map.scss +38 -0
  250. package/src/scss/components/_package-card.scss +65 -0
  251. package/src/scss/components/_package-plp.scss +88 -0
  252. package/src/scss/components/_postcode-checker.scss +115 -0
  253. package/src/scss/components/_price-badges-critical.scss +10 -0
  254. package/src/scss/components/_price-badges.scss +10 -0
  255. package/src/scss/components/_price-block-critical.scss +1 -0
  256. package/src/scss/components/_price-block.scss +1 -0
  257. package/src/scss/components/_sticky-element-appearance.scss +6 -2
  258. package/src/scss/components/_suite-includes.scss +141 -0
  259. package/src/scss/components/_suite-product-card.scss +98 -0
  260. package/src/scss/components/_thumb-gallery-critical.scss +35 -0
  261. package/src/scss/components/_thumb-gallery.scss +200 -0
  262. package/src/scss/components/bloomreach/_bloomreach.scss +1 -0
  263. package/src/scss/components/bloomreach/_card-shared.scss +24 -0
  264. package/src/scss/components/bloomreach/_complete-card.scss +1 -9
  265. package/src/scss/components/bloomreach/_reviews.scss +0 -2
  266. package/src/scss/components/bloomreach/_why-not-add-card.scss +137 -10
  267. package/src/scss/components/bloomreach/_why-not-add.scss +34 -3
  268. package/src/scss/components/checkout-payment-details-v2.scss +44 -20
  269. package/src/scss/components/checkout-payment-repayment-terms.scss +0 -1
  270. package/src/scss/components/energy-efficiency.scss +2 -2
  271. package/src/scss/components/global-search.scss +6 -2
  272. package/src/scss/components/kitchen/_price.scss +10 -0
  273. package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
  274. package/src/scss/components/my-account/_active-orders.scss +9 -9
  275. package/src/scss/components/price-block-v2-critical.scss +62 -0
  276. package/src/scss/components/price-block-v2.scss +62 -0
  277. package/src/scss/helpers/helpers-pdp-critical/_helpers-critical-pdp.scss +13 -8
  278. package/src/scss/libs/_bootstrap-extracted.scss +5 -0
  279. package/src/scss/main.scss +1 -0
  280. package/src/scss/pages/_checkout_delivery-details.scss +16 -104
  281. package/src/scss/pages/iframe-paypage.scss +9 -11
  282. package/src/scss/pages/page_checkout_delivery-new.scss +256 -164
  283. package/src/scss/pages/page_cms_homepage.scss +10 -4
  284. package/src/scss/pages/page_installation.scss +2 -2
  285. package/src/scss/pages/page_online-exclusive.scss +7 -3
  286. package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
  287. package/src/scss/pages/page_product-details-v2.scss +168 -107
  288. package/src/scss/pages/page_product-details.scss +11 -0
  289. package/src/scss/pages/page_products-list-combined.scss +8 -6
  290. package/src/scss/pages/page_products-list_v2.scss +8 -6
  291. package/src/scss/pages/page_top-rated.scss +38 -23
  292. package/src/scss/pdp-main-critical.scss +1 -0
  293. package/src/scss/pdp-main.scss +6 -0
  294. package/src/scss/plp-main.scss +5 -0
  295. package/src/sitemap.html +31 -6
  296. package/build/css/components/kitchen/strip-stickers.css +0 -1
  297. package/build/css/components/strip-stickers.css +0 -1
  298. package/build/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
  299. package/src/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
  300. package/src/scss/components/kitchen/strip-stickers.scss +0 -18
  301. package/src/scss/components/strip-stickers.scss +0 -18
@@ -0,0 +1,132 @@
1
+ {{#extend "base" pageClass="page-product-details" title="Product details page new"
2
+ isDiscount=true
3
+ isSQM=true
4
+ isDescription=true
5
+ isCashback=false
6
+ isSize=true
7
+ isGuide=true
8
+ hourly-delivery=true
9
+ badge-text='15% off'
10
+ badge-color='yellow'
11
+ badge-text-color='gray'
12
+ currentlyInStock=true
13
+ pagePdp=true
14
+ globalSearchV2="true"
15
+ switch-vat=true
16
+ }}
17
+ {{#content "head" mode="append" pagePdp=true}}
18
+ <link type="text/css" rel="stylesheet" href="./css/components/global-search.css">
19
+ {{/content}}
20
+ {{#content "body"}}
21
+ {{>tradepro-discount-banner}}
22
+ <main class="pdp__main">
23
+ <div class="container">
24
+ <div class="pdp">
25
+ <div class="pdp__title">
26
+ <h1 class="pdp__heading">Bosch PSB 1800 LI-2 18V Li-Ion Cordless Combi Drill Example with long
27
+ title in two raws
28
+ </h1>
29
+ <div class="pdp__reviews_small">
30
+ <span class="product-code product-code-v2">Product code: <strong id="product-code-val">236334</strong></span>
31
+ <div class="product-card__reviews review-star">
32
+ <div class="product-rating product-rating-v2">
33
+ <div class="rating-bg">
34
+ <i class="fa fa-star" aria-hidden="true"></i>
35
+ <i class="fa fa-star" aria-hidden="true"></i>
36
+ <i class="fa fa-star" aria-hidden="true"></i>
37
+ <i class="fa fa-star" aria-hidden="true"></i>
38
+ <i class="fa fa-star" aria-hidden="true"></i>
39
+ <div class="rating-overlay"
40
+ data-rating="{{#if review-rating}}{{review-rating}}{{else}}0{{/if}}">
41
+ <i class="fa fa-star" aria-hidden="true"></i>
42
+ <i class="fa fa-star" aria-hidden="true"></i>
43
+ <i class="fa fa-star" aria-hidden="true"></i>
44
+ <i class="fa fa-star" aria-hidden="true"></i>
45
+ <i class="fa fa-star" aria-hidden="true"></i>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <span class="review-star-average review-star-average-v2">(4.6)</span>
50
+ </div>
51
+ <span class="pdp__reviews-link-wrap"><a href="#" data-link="#pdp-reviews" id="open-review">82 reviews</a></span>
52
+ </div>
53
+ </div>
54
+
55
+ <div class="pdp__gallery">
56
+ {{> gallery-pdp-v2 }}
57
+ </div>
58
+ <div class="pdp__aside">
59
+ {{> price-block-v2
60
+ isProductSaved=false
61
+ isUserLogedOut=true
62
+ install=true
63
+ sample=true
64
+ cc=true
65
+ delivery=true
66
+ noDelivery=true
67
+ klarna-placement=true
68
+ similarProductsMockDataKey="similarProductsRecommendations"
69
+ }}
70
+ </div>
71
+ <div class="pdp__description">
72
+ {{> product-main-info-v2 isProductSaved=true}}
73
+ </div>
74
+ <div class="pdp__widget">
75
+ {{> bloomreach/complete-your-project
76
+ context="completeYourProject3Recomendations"
77
+ }}
78
+ </div>
79
+ {{> fulfilment-accordions }}
80
+ </div>
81
+ </div>
82
+ <div class="container container-info">
83
+ <div class="pdp">
84
+ <div class="pdp__info">
85
+ {{> pdp-info-v2 }}
86
+ </div>
87
+ </div>
88
+ </div>
89
+ {{> recently-viewed }}
90
+
91
+ {{> similar-products-v2 }}
92
+
93
+ {{> seo-widgets title="More products" }}
94
+ {{> seo-widgets title="Related category" }}
95
+ </main>
96
+ {{/content}}
97
+ {{#content "foot" mode="append"}}
98
+ <script type="text/html" id="mini-basket-popup">
99
+ {{> popover-mini-basket mod="popover-mini-basket_just-added" products=mini-basket.just-added just-added=true}}
100
+ </script>
101
+ <script defer src="./js/page/pdp.js"></script>
102
+ <script defer src="./js/global-search.min.js"></script>
103
+ {{#extend "modal" id="modal-pdp-feedback" title="Feedback Form" fullWidth=true}}
104
+ {{#content "body"}}
105
+ <iframe class="cboxIframe" name="cbox1538824723052"
106
+ src="https://docs.google.com/forms/d/1jHV5b8AazYbPmoTXJBxmyns4AcRhtKnnIC4_K_MFOPU/viewform?entry.1452922942=Wickes+Blue+Slate+Chippings+-+Major+Bag&amp;entry.1885983523=Decorative+Uk+sourced+blue+slate+chippings+are+ideal+for+gardens+and+borders.+This+beautiful+stone+changes+colour+when+wet.&amp;entry.935962220=112777&amp;entry.474385230=1000626184"></iframe>
107
+ {{/content}}
108
+ {{/extend}}
109
+ {{> click-and-collect-modal}}
110
+ {{/content}}
111
+ {{/extend}}
112
+ <!--<script defer src="./js/components/badge-cashback.js"></script>-->
113
+ <script>
114
+ if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
115
+ $(document).ready(function () {
116
+ $('.modal').on('scroll', function () {
117
+ $(':focus').blur();
118
+ });
119
+ });
120
+ }
121
+
122
+ $(document).ready(function () {
123
+
124
+ $('#info-details').toggleClass('accordion_collapsed');
125
+ $('#details-content').css('display', 'block');
126
+
127
+ $('#open-review').on('click', function () {
128
+ $('#info-review').toggleClass('accordion_collapsed');
129
+ $('#review-content').css('display', 'block');
130
+ })
131
+ })
132
+ </script>
@@ -13,12 +13,13 @@ currentlyInStock=true
13
13
  pagePdp=true
14
14
  globalSearchV2="true"
15
15
  switch-vat=true
16
+ isWhyNotAdd=true
16
17
  }}
17
18
  {{#content "head" mode="append" pagePdp=true}}
18
19
  <link type="text/css" rel="stylesheet" href="./css/components/global-search.css">
19
20
  {{/content}}
20
21
  {{#content "body"}}
21
- <main class="pdp__main">
22
+ <main class="pdp__main" data-cart-mock-key="cartPDPSingle">
22
23
  <div class="container">
23
24
  <div class="pdp">
24
25
  <div class="pdp__title">
@@ -6,9 +6,7 @@
6
6
  isSize=true
7
7
  isGuide=true
8
8
  hourly-delivery=true
9
- badge-text='15% off'
10
- badge-color='yellow'
11
- badge-text-color='gray'
9
+ badges=pdp-price-badges.yellowGrayText
12
10
  currentlyInStock=true
13
11
  pagePdp=true
14
12
  }}
@@ -14,7 +14,9 @@
14
14
  background-color: $green;
15
15
  border: 1px solid $green;
16
16
 
17
- &:focus {
17
+ &:hover,
18
+ &:focus,
19
+ &:active {
18
20
  background-color: $green;
19
21
  }
20
22
 
@@ -66,7 +66,9 @@
66
66
  background-color: $gray;
67
67
  height: 6px;
68
68
  width: 6px;
69
- transition: width 0.3s ease-in, background-color 0.3s ease-in;
69
+ transition:
70
+ width 0.3s ease-in,
71
+ background-color 0.3s ease-in;
70
72
 
71
73
  &-active {
72
74
  background-color: $blue;
@@ -341,7 +341,8 @@
341
341
  }
342
342
  }
343
343
 
344
- &:last-child {
344
+ &:last-child,
345
+ &:has(+ .delivery-block__heavy-banners-wrapper.d-none:last-child) {
345
346
  .order-block__product-line {
346
347
  .show-products {
347
348
  padding-bottom: 0;
@@ -1,8 +1,20 @@
1
1
  .date-selection {
2
+ &__inner {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 16px;
6
+ };
7
+
2
8
  &-hidden {
3
9
  display: none;
4
10
  }
5
11
 
12
+ .delivery-time {
13
+ &__rapid-hint {
14
+ border-top: 0;
15
+ }
16
+ }
17
+
6
18
  &__info-block {
7
19
  &-error {
8
20
  display: flex;
@@ -25,8 +37,7 @@
25
37
  }
26
38
 
27
39
  .calendar {
28
- background: $white;
29
- border: 0;
40
+ padding: 16px;
30
41
 
31
42
  &__head {
32
43
  margin-bottom: 20px;
@@ -189,8 +200,8 @@
189
200
  border: 0;
190
201
 
191
202
  .delivery-types {
192
- padding: 0 0 10px;
193
203
  margin: 0;
204
+ padding: 0;
194
205
  background: initial;
195
206
 
196
207
  &__inner {
@@ -199,6 +210,10 @@
199
210
  }
200
211
  }
201
212
  }
213
+
214
+ .calendar {
215
+ border: 1px solid $gray;
216
+ }
202
217
  }
203
218
  }
204
219
 
@@ -286,6 +301,35 @@
286
301
  }
287
302
  }
288
303
  }
304
+
305
+ .rapid-info-icon {
306
+ display: inline-flex;
307
+ align-items: center;
308
+ vertical-align: bottom;
309
+ pointer-events: auto;
310
+ margin-left: 4px;
311
+ cursor: pointer;
312
+ color: $white;
313
+ font-size: 1rem;
314
+
315
+ [data-prefix='fas'],
316
+ [data-prefix='far'] {
317
+ color: $white;
318
+ }
319
+
320
+ &:hover {
321
+ opacity: 0.8;
322
+
323
+ [data-prefix='far'] {
324
+ color: $white;
325
+ }
326
+ }
327
+ }
328
+
329
+ &__image {
330
+ position: absolute;
331
+ right: 12px;
332
+ }
289
333
  }
290
334
 
291
335
  .delivery-container {
@@ -324,12 +368,18 @@
324
368
 
325
369
  @include media-breakpoint-up(md) {
326
370
  .date-selection {
371
+ &__inner {
372
+ flex-direction: row;
373
+ };
374
+
327
375
  .delivery-date,
328
376
  .delivery-time {
329
377
  height: auto;
330
378
  }
331
379
 
332
380
  .calendar {
381
+ padding: 24px;
382
+
333
383
  &__message {
334
384
  padding: 50px 40px 70px;
335
385
  }
@@ -149,7 +149,7 @@
149
149
 
150
150
  .giftcard-applied {
151
151
  width: 100%;
152
- border: 1px solid $gray-light;
152
+ border: 1px solid $gray;
153
153
  border-radius: 4px;
154
154
  background: $white;
155
155
  padding: 15px 16px;
@@ -0,0 +1,216 @@
1
+ // Big & Bulky (Heavy) delivery banners component
2
+ // Used on delivery details page for heavy/bulky orders
3
+ // Mobile-first approach
4
+
5
+ .delivery-block {
6
+ &__show-products {
7
+ display: inline-block;
8
+ margin-bottom: 20px;
9
+ font-size: 1rem;
10
+ color: $blue;
11
+ text-decoration: underline;
12
+
13
+ &:hover {
14
+ color: $blue-darker;
15
+ }
16
+ }
17
+
18
+ &__weight-banner {
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ background: $ma-white;
23
+ padding: 8px;
24
+ margin: 0 -15px;
25
+ gap: 8px;
26
+ border-bottom: 1px solid $blue-satin;
27
+
28
+ .banner-news + & {
29
+ margin-top: 20px;
30
+ }
31
+
32
+ &-content {
33
+ p {
34
+ @include font-size(12);
35
+ @include line-height(16);
36
+ color: $blue-ocean;
37
+ font-weight: 700;
38
+ margin: 0;
39
+ text-align: center;
40
+ }
41
+ }
42
+
43
+ &-icon {
44
+ flex-shrink: 0;
45
+ width: 32px;
46
+ height: 32px;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+
51
+ i,
52
+ svg {
53
+ @include font-size(21);
54
+ color: $blue-satin;
55
+ }
56
+ }
57
+ }
58
+
59
+ // Outer wrapper for the whole banner section
60
+ &__heavy-banners-wrapper {
61
+ background: $white;
62
+ border: 1px solid $gray;
63
+ border-radius: 4px;
64
+ padding: 24px;
65
+ margin-top: 20px;
66
+ margin-bottom: 20px;
67
+ overflow: hidden;
68
+
69
+ &:last-child {
70
+ margin-bottom: 0;
71
+ }
72
+ }
73
+
74
+ &__heavy-banners-header {
75
+ margin-bottom: 0;
76
+ }
77
+
78
+ &__heavy-banners-title {
79
+ @include font-size(18);
80
+ @include line-height(24);
81
+ color: $gray-dark;
82
+ font-weight: 500;
83
+ margin: 0;
84
+ }
85
+
86
+ &__heavy-banners-terms {
87
+ @include font-size(12);
88
+ @include line-height(16);
89
+ color: $blue;
90
+ font-weight: 400;
91
+ text-decoration: underline;
92
+
93
+ &:hover {
94
+ color: $blue-darker;
95
+ }
96
+
97
+ // Mobile: T&C at bottom visible, desktop one hidden
98
+ &--mobile {
99
+ display: block;
100
+ margin-top: 16px;
101
+ }
102
+
103
+ &--desktop {
104
+ display: none;
105
+ }
106
+ }
107
+
108
+ &__heavy-banners-description {
109
+ @include font-size(14);
110
+ @include line-height(22);
111
+ color: $gray-dark;
112
+ font-weight: 400;
113
+ margin-top: 16px;
114
+ margin-bottom: 16px;
115
+ }
116
+
117
+ // Images container - matches Hybris class: delivery-block__heavy-banners
118
+ &__heavy-banners {
119
+ display: flex;
120
+ flex-wrap: wrap;
121
+ justify-content: center;
122
+ gap: 8px 16px;
123
+ margin-bottom: 16px;
124
+
125
+ img {
126
+ flex: 0 1 calc(33.333% - 12px);
127
+ max-width: calc(33.333% - 12px);
128
+ height: auto;
129
+ object-fit: contain;
130
+ }
131
+ }
132
+
133
+ &__heavy-banners-contact {
134
+ display: flex;
135
+ align-items: center;
136
+ background: $ma-white;
137
+ padding: 8px;
138
+ border-radius: 4px;
139
+
140
+ &-icon {
141
+ display: flex;
142
+ align-items: center;
143
+ justify-content: center;
144
+ width: 32px;
145
+ height: 32px;
146
+ flex-shrink: 0;
147
+ margin-right: 8px;
148
+ }
149
+
150
+ i,
151
+ svg {
152
+ @include font-size(21);
153
+ color: $blue-satin;
154
+ }
155
+
156
+ span {
157
+ @include font-size(12);
158
+ @include line-height(16);
159
+ color: $blue-ocean;
160
+ font-weight: 400;
161
+ }
162
+
163
+ a {
164
+ @include font-size(12);
165
+ @include line-height(16);
166
+ color: $blue-ocean;
167
+ font-weight: 400;
168
+ text-decoration: underline;
169
+
170
+ &:hover {
171
+ color: $blue-darker;
172
+ }
173
+ }
174
+ }
175
+ }
176
+
177
+ // Tablet and Desktop: all 5 in one row, T&C in header
178
+ @include media-breakpoint-up(sm) {
179
+ .delivery-block {
180
+ &__weight-banner {
181
+ margin-left: 0;
182
+ margin-right: 0;
183
+ }
184
+ }
185
+ }
186
+
187
+ @include media-breakpoint-up(md) {
188
+ .delivery-block {
189
+ &__heavy-banners-header {
190
+ display: flex;
191
+ justify-content: space-between;
192
+ align-items: center;
193
+ }
194
+
195
+ &__heavy-banners-terms {
196
+ &--mobile {
197
+ display: none;
198
+ }
199
+
200
+ &--desktop {
201
+ display: inline-block;
202
+ }
203
+ }
204
+
205
+ &__heavy-banners {
206
+ flex-wrap: nowrap;
207
+
208
+ img {
209
+ flex: 1;
210
+ min-width: 0;
211
+ max-width: 120px;
212
+ width: 100%;
213
+ }
214
+ }
215
+ }
216
+ }
@@ -0,0 +1,54 @@
1
+ .image-accordion {
2
+ padding-bottom: 8px;
3
+ border-bottom: 1px solid $gray;
4
+
5
+ &__preview {
6
+ display: flex;
7
+ flex-wrap: wrap;
8
+ gap: 8px;
9
+ margin-bottom: 8px;
10
+
11
+ & img {
12
+ flex-basis: calc((100% - 40px) / 6);
13
+ min-width: 45px;
14
+ }
15
+ }
16
+
17
+ &__content {
18
+ margin-bottom: 8px;
19
+ }
20
+
21
+ &__header {
22
+ position: relative;
23
+ margin-bottom: 0;
24
+ padding-left: 32px;
25
+ color: $blue;
26
+ cursor: pointer;
27
+
28
+ font-size: 0.875rem;
29
+ line-height: 1.375rem;
30
+ }
31
+
32
+ &__icon {
33
+ position: absolute;
34
+ left: 0;
35
+ top: 0;
36
+ font-size: 18px;
37
+ }
38
+
39
+ &:not(.image-accordion--collapsed) {
40
+ .image-accordion__preview {
41
+ display: none;
42
+ }
43
+ }
44
+
45
+ &--collapsed {
46
+ & .image-accordion__header {
47
+ & > .image-accordion__icon {
48
+ & > .fa-angle-up {
49
+ transform: rotate(180deg);
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
@@ -49,6 +49,7 @@
49
49
 
50
50
  &__title {
51
51
  margin-bottom: 0;
52
+ user-select: none;
52
53
  }
53
54
 
54
55
  &__parameters {
@@ -160,3 +160,41 @@
160
160
  .map-container img {
161
161
  max-width: none;
162
162
  }
163
+
164
+ // Google Maps InfoWindow overrides
165
+ .gm {
166
+ &-style-iw {
167
+ &-chr {
168
+ height: 10px;
169
+ min-height: 0 !important;
170
+ }
171
+
172
+ &-d {
173
+ max-height: 130px !important;
174
+ min-height: 0 !important;
175
+ margin-right: 30px;
176
+
177
+ div div:nth-of-type(2) {
178
+ min-height: 0 !important;
179
+ }
180
+ }
181
+
182
+ &.gm-style-iw-c {
183
+ min-height: 0 !important;
184
+ }
185
+ }
186
+
187
+ &-ui-hover-effect {
188
+ position: absolute !important;
189
+ top: 0;
190
+ right: 0;
191
+
192
+ &:focus {
193
+ outline: none !important;
194
+ }
195
+
196
+ &:focus-visible {
197
+ outline: 5px auto #005fcc !important;
198
+ }
199
+ }
200
+ }
@@ -0,0 +1,65 @@
1
+ .package-card {
2
+ display: grid;
3
+ grid-template-rows: subgrid;
4
+ grid-row: span 5;
5
+ gap: 0;
6
+
7
+ border: 1px solid $gray;
8
+ border-radius: 4px;
9
+
10
+ &.has-stickers-row {
11
+ grid-row: span 6;
12
+
13
+ .package-card__content {
14
+ grid-row: span 5;
15
+ }
16
+ }
17
+
18
+ &__image {
19
+ width: 100%;
20
+ aspect-ratio: 16/9;
21
+ object-fit: contain;
22
+ }
23
+
24
+ &__content {
25
+ display: grid;
26
+ grid-template-rows: subgrid;
27
+ grid-row: span 4;
28
+ row-gap: 12px;
29
+ padding: 16px;
30
+ }
31
+
32
+ &__title {
33
+ margin-bottom: 0;
34
+ }
35
+
36
+ &__usp {
37
+ display: flex;
38
+ flex-direction: column;
39
+ row-gap: 8px;
40
+
41
+ margin-bottom: 0;
42
+ padding-left: 0;
43
+ list-style: none;
44
+
45
+ &-item {
46
+ display: flex;
47
+ align-items: baseline;
48
+ column-gap: 8px;
49
+ }
50
+ }
51
+
52
+ &__icon {
53
+ font-size: 1rem;
54
+ flex-shrink: 0;
55
+ }
56
+
57
+ &__price,
58
+ &__button {
59
+ align-self: end;
60
+ }
61
+
62
+ &__stickers {
63
+ min-width: 0;
64
+ }
65
+ }