wickes-css2 2.113.0-develop.1 → 2.113.0-develop.10
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.
- package/build/css/category-main.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/components/price-block-v2-critical.css +1 -1
- package/build/css/components/price-block-v2.css +1 -1
- package/build/css/components/store-locator-facilities.css +1 -1
- package/build/css/components/store-locator-lookup.css +1 -1
- package/build/css/components/tile-calculator.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/my-account.css +1 -1
- package/build/css/pages/page_address-book.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_discount.css +1 -1
- package/build/css/pages/page_fi.css +1 -1
- package/build/css/pages/page_in-store-checkout.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/css/pages/page_my-order.css +1 -1
- package/build/css/pages/page_my-orders.css +1 -1
- package/build/css/pages/page_product-details-critical.css +1 -1
- package/build/css/pages/page_product-details-v2-critical.css +1 -1
- package/build/css/pages/page_product-details-v2.css +1 -1
- package/build/css/pages/page_product-details.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_store-locator.css +1 -1
- package/build/css/pages/page_ti.css +1 -1
- package/build/css/pages/tradePro-discount.css +1 -1
- package/build/css/pages/tradePro-rewards-old.css +1 -1
- package/build/css/pages/tradePro-rewards.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-critical.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/shopping-list-pdf.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/img/emulation/low-trees.png +0 -0
- package/build/img/emulation/overhead-power-cables.png +0 -0
- package/build/img/emulation/parked-vehicles.png +0 -0
- package/build/img/emulation/traffic-access-issues.png +0 -0
- package/build/img/emulation/walls-or-fences.png +0 -0
- package/build/js/account-members.min.js +1 -1
- package/build/js/add-project-list-id.min.js +1 -1
- package/build/js/address-book.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bloomreach-widget.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/change-password.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +456 -3270
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/package-bulk-add.min.js +1 -0
- package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +318 -0
- package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +370 -0
- package/build/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
- package/build/js/page/bloomreach-widget/bloomreach-widget.js +8 -237
- package/build/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
- package/build/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
- package/build/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
- package/build/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
- package/build/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
- package/build/js/page/bloomreach-widget/complete-your-project/view.js +179 -0
- package/build/js/page/bloomreach-widget/complete-your-project/widget.js +185 -0
- package/build/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
- package/build/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
- package/build/js/page/plp-load-more.js +81 -66
- package/build/js/page/ripple/bulk-add.js +71 -0
- package/build/js/page/ripple/package-bulk-add.js +43 -0
- package/build/js/page/ripple/postcode-checker.js +83 -0
- package/build/js/page/ripple/thumb-gallery.js +168 -0
- package/build/js/page/utils/validation.js +1 -1
- package/build/js/pdp.bundle.min.js +2 -2
- package/build/js/personal-details.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/postcode-checker.min.js +1 -0
- package/build/js/project-list.min.js +2 -2
- package/build/js/quiz.min.js +1 -1
- package/build/js/track-my-order.min.js +1 -1
- package/package.json +4 -2
- package/src/badges-ripple.html +120 -0
- package/src/badges.html +9 -18
- package/src/components/base/button.hbs +7 -0
- package/src/components/bloomreach/complete-your-project-skeleton.hbs +21 -0
- package/src/components/bloomreach/complete-your-project.hbs +6 -21
- package/src/components/bloomreach/why-not-add-card-skeleton.hbs +2 -2
- package/src/components/bloomreach/why-not-add-card.hbs +79 -60
- package/src/components/bloomreach/why-not-add-content.hbs +3 -3
- package/src/components/bloomreach/why-not-add.hbs +1 -1
- package/src/components/date-selection.hbs +19 -10
- package/src/components/fulfilment-accordions.hbs +1 -1
- package/src/components/heavy-banners-wrapper.hbs +21 -0
- package/src/components/image-accordion.hbs +18 -0
- package/src/components/kitchen/price.hbs +49 -29
- package/src/components/kitchen/strip-stickers.hbs +9 -3
- package/src/components/package-card.hbs +30 -0
- package/src/components/pdp-price-actions.hbs +17 -0
- package/src/components/postcode-checker.hbs +24 -0
- package/src/components/price-badges.hbs +12 -10
- package/src/components/price-block-v2.hbs +274 -202
- package/src/components/product-main-info-v2.hbs +2 -0
- package/src/components/suite-includes.hbs +66 -0
- package/src/components/suite-product-card.hbs +47 -0
- package/src/components/thumb-gallery.hbs +23 -0
- package/src/data/data_badges.json +143 -0
- package/src/data/data_bathroom-plp.json +814 -0
- package/src/data/data_heavy-banner.json +29 -0
- package/src/data/data_suite-includes-products.json +134 -0
- package/src/data/my-account/data_my-account.json +1 -1
- package/src/data/my-account/data_my-order.json +1 -1
- package/src/data/my-account/data_my-orders.json +1 -1
- package/src/img/emulation/low-trees.png +0 -0
- package/src/img/emulation/overhead-power-cables.png +0 -0
- package/src/img/emulation/parked-vehicles.png +0 -0
- package/src/img/emulation/traffic-access-issues.png +0 -0
- package/src/img/emulation/walls-or-fences.png +0 -0
- package/src/js/components/banner-placement-manager.js +25 -9
- package/src/js/components/general/cart-slider.js +41 -4
- package/src/js/components/general/image-accordion.js +54 -0
- package/src/js/components/general/switchVat.js +8 -1
- package/src/js/components/package-card.js +69 -0
- package/src/js/components/store-locator-cards.js +76 -0
- package/src/js/emulation/banner-placement-manager.js +219 -188
- package/src/js/emulation/complete-your-project-loading.js +16 -0
- package/src/js/emulation/custom-slider-emulation.js +21 -8
- package/src/js/emulation/date-selection.js +2 -2
- package/src/js/emulation/dont-forget-loading.js +36 -0
- package/src/js/emulation/just-added-scenarios-emulation.js +131 -0
- package/src/js/emulation/mini-basket.js +34 -34
- package/src/js/emulation/mock.js +429 -4
- package/src/js/emulation/plp-load-more.js +13 -4
- package/src/js/emulation/postcode-checker.js +11 -0
- package/src/js/emulation/why-not-add-loading.js +14 -3
- package/src/js/emulation/why-not-add.js +12 -14
- package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +318 -0
- package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +370 -0
- package/src/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
- package/src/js/page/bloomreach-widget/bloomreach-widget.js +8 -237
- package/src/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
- package/src/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
- package/src/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
- package/src/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
- package/src/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
- package/src/js/page/bloomreach-widget/complete-your-project/view.js +179 -0
- package/src/js/page/bloomreach-widget/complete-your-project/widget.js +185 -0
- package/src/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
- package/src/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
- package/src/js/page/plp-load-more.js +81 -66
- package/src/js/page/ripple/bulk-add.js +71 -0
- package/src/js/page/ripple/package-bulk-add.js +43 -0
- package/src/js/page/ripple/postcode-checker.js +83 -0
- package/src/js/page/ripple/thumb-gallery.js +168 -0
- package/src/js/page/utils/validation.js +1 -1
- package/src/page_bathroom-plp-vat.html +81 -0
- package/src/page_bathroom-plp-without-load-more.html +83 -0
- package/src/page_bathroom-plp.html +98 -0
- package/src/page_checkout_big-bulky-delivery-details.html +272 -0
- package/src/page_checkout_premium-delivery-details.html +2 -2
- package/src/page_product-details-banner.html +1 -3
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
- package/src/page_product-details-big-wins-non-registered.html +1 -3
- package/src/page_product-details-big-wins-out-nearest.html +1 -3
- package/src/page_product-details-big-wins-unhappy.html +1 -3
- package/src/page_product-details-big-wins.html +1 -3
- package/src/page_product-details-billie.html +1 -3
- package/src/page_product-details-calculator.html +1 -3
- package/src/page_product-details-cashback-v2.html +1 -3
- package/src/page_product-details-clearpay.html +1 -3
- package/src/page_product-details-cnc-error-notification.html +1 -3
- package/src/page_product-details-cnc-success-notification-vat.html +1 -4
- package/src/page_product-details-cnc-success-notification.html +1 -3
- package/src/page_product-details-default-store.html +1 -3
- package/src/page_product-details-energy-efficiency.html +1 -3
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
- package/src/page_product-details-flooring.html +1 -3
- package/src/page_product-details-gallery-actual.html +1 -3
- package/src/page_product-details-mfe-calculator.html +1 -3
- package/src/page_product-details-mtm-doors.html +1 -3
- package/src/page_product-details-only-clearpay.html +1 -3
- package/src/page_product-details-paint-mixing.html +1 -3
- package/src/page_product-details-ripple-gallery.html +121 -0
- package/src/page_product-details-saved-pl.html +1 -3
- package/src/page_product-details-suite-includes-banners.html +139 -0
- package/src/page_product-details-suite-includes-billie.html +128 -0
- package/src/page_product-details-suite-includes-klarna.html +120 -0
- package/src/page_product-details-suite-includes-vat.html +126 -0
- package/src/page_product-details-suite-includes.html +122 -0
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
- package/src/page_product-details-tile-steps-logout.html +1 -3
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
- package/src/page_product-details-tile-steps-with-klarna.html +1 -3
- package/src/page_product-details-tile-steps.html +1 -3
- package/src/page_product-details-v2.html +1 -3
- package/src/page_product-details-vat.html +1 -3
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
- package/src/page_product-details-wisdom-mcfc.html +1 -3
- package/src/page_product-details-wisdom-oos-registered.html +1 -3
- package/src/page_product-details-wisdom-oos.html +1 -3
- package/src/page_product-details-wisdom-registered.html +1 -3
- package/src/page_product-details-wisdom.html +1 -3
- package/src/page_product-details-with-favourite.html +1 -3
- package/src/page_product-details-with-global-search-v2.html +6 -9
- package/src/page_product-details-with-why-not-add-single.html +2 -1
- package/src/page_product-details_no-previous-default.html +1 -3
- package/src/scss/components/_cards-slider.scss +3 -1
- package/src/scss/components/_checkout_order.scss +2 -1
- package/src/scss/components/_date-selection-add-new-styles.scss +29 -0
- package/src/scss/components/_heavy-banners.scss +216 -0
- package/src/scss/components/_image-accordion.scss +54 -0
- package/src/scss/components/_kitchen-card.scss +1 -0
- package/src/scss/components/_lines-group.scss +1 -1
- package/src/scss/components/_package-card.scss +63 -0
- package/src/scss/components/_package-plp.scss +88 -0
- package/src/scss/components/_postcode-checker.scss +115 -0
- package/src/scss/components/_price-badges-critical.scss +10 -0
- package/src/scss/components/_price-badges.scss +10 -0
- package/src/scss/components/_price-block-critical.scss +1 -0
- package/src/scss/components/_price-block.scss +1 -0
- package/src/scss/components/_sticky-element-appearance.scss +6 -2
- package/src/scss/components/_suite-includes.scss +141 -0
- package/src/scss/components/_suite-product-card.scss +98 -0
- package/src/scss/components/_thumb-gallery-critical.scss +34 -0
- package/src/scss/components/_thumb-gallery.scss +192 -0
- package/src/scss/components/bloomreach/_bloomreach.scss +1 -0
- package/src/scss/components/bloomreach/_card-shared.scss +24 -0
- package/src/scss/components/bloomreach/_complete-card.scss +1 -9
- package/src/scss/components/bloomreach/_reviews.scss +0 -2
- package/src/scss/components/bloomreach/_why-not-add-card.scss +137 -10
- package/src/scss/components/bloomreach/_why-not-add.scss +31 -2
- package/src/scss/components/energy-efficiency.scss +2 -2
- package/src/scss/components/global-search.scss +6 -2
- package/src/scss/components/kitchen/_price.scss +10 -0
- package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
- package/src/scss/components/my-account/_active-orders.scss +9 -9
- package/src/scss/components/price-block-v2-critical.scss +58 -0
- package/src/scss/components/price-block-v2.scss +58 -0
- package/src/scss/helpers/helpers-pdp-critical/_helpers-critical-pdp.scss +13 -8
- package/src/scss/libs/_bootstrap-extracted.scss +5 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/iframe-paypage.scss +9 -11
- package/src/scss/pages/page_checkout_delivery-new.scss +4 -0
- package/src/scss/pages/page_cms_homepage.scss +10 -4
- package/src/scss/pages/page_installation.scss +2 -2
- package/src/scss/pages/page_online-exclusive.scss +7 -3
- package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
- package/src/scss/pages/page_product-details-v2.scss +168 -107
- package/src/scss/pages/page_product-details.scss +11 -0
- package/src/scss/pages/page_top-rated.scss +38 -23
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +6 -0
- package/src/scss/plp-main.scss +5 -0
- package/src/sitemap.html +15 -0
- package/build/css/components/kitchen/strip-stickers.css +0 -1
- package/build/css/components/strip-stickers.css +0 -1
- package/build/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
- package/src/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
- package/src/scss/components/kitchen/strip-stickers.scss +0 -18
- package/src/scss/components/strip-stickers.scss +0 -18
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
<div class="calendar__row">
|
|
29
29
|
<div class="calendar__row_days">
|
|
30
30
|
{{/if}}
|
|
31
|
-
<span class="calendar__cell calendar__cell_cnt{{#if isInactive}} calendar__cell_inactive{{/if}}{{#if ../premium}}{{#if (eq day '1')}} calendar__cell_inactive{{/if}}{{#unless isInactive}}{{#if (eq day '2')}} calendar__cell_highlight calendar-premium-day{{/if}}{{/unless}}{{else}}{{#if (eq day '1')}}{{#unless isInactive}} calendar__cell_highlight calendar-rapid-day{{/unless}}{{/if}}{{/if}}">
|
|
31
|
+
<span class="calendar__cell calendar__cell_cnt{{#if isInactive}} calendar__cell_inactive{{/if}}{{#if ../premium}}{{#if (eq day '1')}} calendar__cell_inactive{{/if}}{{#unless isInactive}}{{#if (eq day '2')}} calendar__cell_highlight calendar-premium-day{{/if}}{{/unless}}{{else}}{{#unless ../noRapid}}{{#if (eq day '1')}}{{#unless isInactive}} calendar__cell_highlight calendar-rapid-day{{/unless}}{{/if}}{{/unless}}{{/if}}">
|
|
32
32
|
{{#if ../premium}}
|
|
33
33
|
{{#if (eq day '2')}}
|
|
34
34
|
{{#unless isInactive}}
|
|
35
35
|
{{day}}
|
|
36
|
-
<span class="calendar-cell-label">
|
|
36
|
+
<span class="calendar-cell-label">AM</span>
|
|
37
37
|
{{else}}
|
|
38
38
|
{{day}}
|
|
39
39
|
{{/unless}}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
{{day}}
|
|
42
42
|
{{/if}}
|
|
43
43
|
{{else}}
|
|
44
|
-
{{#if (eq day '1')}}
|
|
44
|
+
{{#if (and (eq day '1') (not ../noRapid))}}
|
|
45
45
|
{{#unless isInactive}}
|
|
46
46
|
{{day}}
|
|
47
47
|
<span class="calendar-cell-label">Rapid</span>
|
|
@@ -77,22 +77,31 @@
|
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
79
79
|
<div class="delivery-time">
|
|
80
|
-
|
|
80
|
+
{{#if premium}}
|
|
81
|
+
<div class="delivery-time__premium-hint">
|
|
81
82
|
<span class="icon-wrap icon-wrap--large">
|
|
82
|
-
{{#if premium}}
|
|
83
83
|
<img src="./img/premium-delivery.svg" class="icon" alt="Premium delivery">
|
|
84
|
-
{{else}}
|
|
85
|
-
<i class="fas fa-shipping-fast icon"></i>
|
|
86
|
-
{{/if}}
|
|
87
84
|
</span>
|
|
88
85
|
<p class="description">
|
|
89
86
|
{{#if premium}}
|
|
90
|
-
Select tomorrow’s day on the calendar to get
|
|
87
|
+
Select tomorrow’s day on the calendar to get Next Day AM delivery
|
|
91
88
|
{{else}}
|
|
92
89
|
Select todays’ day on the calendar to get Rapid delivery.
|
|
93
90
|
{{/if}}
|
|
94
91
|
</p>
|
|
95
|
-
|
|
92
|
+
</div>
|
|
93
|
+
{{else}}
|
|
94
|
+
{{#unless noRapid}}
|
|
95
|
+
<div class="delivery-time__rapid-hint">
|
|
96
|
+
<span class="icon-wrap icon-wrap--large">
|
|
97
|
+
<i class="fas fa-shipping-fast icon"></i>
|
|
98
|
+
</span>
|
|
99
|
+
<p class="description">
|
|
100
|
+
Select todays’ day on the calendar to get Rapid delivery.
|
|
101
|
+
</p>
|
|
102
|
+
</div>
|
|
103
|
+
{{/unless}}
|
|
104
|
+
{{/if}}
|
|
96
105
|
{{> delivery-types
|
|
97
106
|
title=titleDelivery
|
|
98
107
|
subtitle=subtitleDelivery
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div class="delivery-block__heavy-banners-wrapper">
|
|
2
|
+
<div class="delivery-block__heavy-banners-header">
|
|
3
|
+
<h4 class="delivery-block__heavy-banners-title">Big & Bulky delivery information</h4>
|
|
4
|
+
<a href="https://www.wickes.co.uk/termsAndConditions" class="delivery-block__heavy-banners-terms delivery-block__heavy-banners-terms--desktop">Terms & Conditions</a>
|
|
5
|
+
</div>
|
|
6
|
+
<p class="delivery-block__heavy-banners-description">
|
|
7
|
+
We will not be able to deliver your order if any of the below apply to your delivery address:
|
|
8
|
+
</p>
|
|
9
|
+
<div class="delivery-block__heavy-banners">
|
|
10
|
+
{{#each @root.heavyBannerImages}}
|
|
11
|
+
<img loading="lazy" title="{{this.title}}" src="{{this.src}}" alt="{{this.alt}}">
|
|
12
|
+
{{/each}}
|
|
13
|
+
</div>
|
|
14
|
+
<div class="delivery-block__heavy-banners-contact">
|
|
15
|
+
<span class="delivery-block__heavy-banners-contact-icon">
|
|
16
|
+
<i class="far fa-info-circle"></i>
|
|
17
|
+
</span>
|
|
18
|
+
<span>If you have any questions, please contact us on <a href="tel:03301234123">0330 123 4123</a></span>
|
|
19
|
+
</div>
|
|
20
|
+
<a href="https://www.wickes.co.uk/termsAndConditions" class="delivery-block__heavy-banners-terms delivery-block__heavy-banners-terms--mobile">Terms & Conditions</a>
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="image-accordion {{collapsed}}">
|
|
2
|
+
<div class="image-accordion__preview">
|
|
3
|
+
{{#each images}}
|
|
4
|
+
<img src="{{image.url}}" alt="{{image.altText}}">
|
|
5
|
+
{{/each}}
|
|
6
|
+
</div>
|
|
7
|
+
<div class="image-accordion__content {{hidden}}">
|
|
8
|
+
{{#block "content"}}{{/block}}
|
|
9
|
+
</div>
|
|
10
|
+
<h5 class="image-accordion__header">
|
|
11
|
+
<span class="icon image-accordion__icon">
|
|
12
|
+
<i class="far fa-angle-up"></i>
|
|
13
|
+
</span>
|
|
14
|
+
<span class="image-accordion__header-text">
|
|
15
|
+
See details
|
|
16
|
+
</span>
|
|
17
|
+
</h5>
|
|
18
|
+
</div>
|
|
@@ -1,34 +1,54 @@
|
|
|
1
1
|
{{#with price}}
|
|
2
|
-
<div class="price {{#if price_offer}}price--offer{{/if}} {{#if ../small}}price--small{{/if}}">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
<div class="price {{#if price_offer}}price--offer{{/if}} {{#if ../small}}price--small{{/if}}">
|
|
3
|
+
{{#if ../switch-vat}}
|
|
4
|
+
{{#ifCond was_price '&&' was_price-vat}}
|
|
5
|
+
<div class="price__was-block including-vat">£{{formatPrice was_price-vat}}</div>
|
|
6
|
+
<div class="price__was-block excluding-vat d-none">£{{formatPrice was_price}}</div>
|
|
7
|
+
{{/ifCond}}
|
|
8
|
+
{{else}}
|
|
9
|
+
{{#if was_price}}
|
|
10
|
+
<div class="price__was-block">£{{formatPrice was_price}}</div>
|
|
11
|
+
{{/if}}
|
|
9
12
|
{{/if}}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
<div class="price__main">
|
|
14
|
+
{{#if ../switch-vat}}
|
|
15
|
+
{{#ifCond price '&&' price-vat}}
|
|
16
|
+
<div class="price__vat including-vat">
|
|
17
|
+
<span class="price__item">£{{formatPrice price-vat}}</span>
|
|
18
|
+
<span class="price-vat">Inc.VAT</span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="price__vat excluding-vat d-none">
|
|
21
|
+
<span class="price__item">£{{formatPrice price}}</span>
|
|
22
|
+
<span class="price-vat">Exc.VAT</span>
|
|
23
|
+
</div>
|
|
24
|
+
{{/ifCond}}
|
|
25
|
+
{{else}}
|
|
26
|
+
{{#if price}}
|
|
27
|
+
<span class="price__item">£{{formatPrice price}}</span>
|
|
28
|
+
{{/if}}
|
|
29
|
+
{{/if}}
|
|
30
|
+
{{#if finance_price}}
|
|
31
|
+
<span class="price__text">or</span>
|
|
32
|
+
<span class="price__monthly">
|
|
33
|
+
<span class="price__item">£{{formatPrice finance_price}}*</span>
|
|
34
|
+
<span class="price__text">/month</span>
|
|
35
|
+
</span>
|
|
36
|
+
{{/if}}
|
|
37
|
+
{{#if tooltip_text}}
|
|
38
|
+
{{> info-icon
|
|
39
|
+
modification="price__tooltip"
|
|
40
|
+
title=tooltip_text
|
|
41
|
+
markdown="true"
|
|
42
|
+
data-placement="top"
|
|
43
|
+
data-offset="0,4"
|
|
44
|
+
data-html="true"
|
|
45
|
+
}}
|
|
46
|
+
{{/if}}
|
|
47
|
+
</div>
|
|
48
|
+
{{#if additional_text}}
|
|
49
|
+
<div class="price__additional-text">
|
|
50
|
+
{{additional_text}}
|
|
51
|
+
</div>
|
|
26
52
|
{{/if}}
|
|
27
53
|
</div>
|
|
28
|
-
{{#if additional_text}}
|
|
29
|
-
<div class="price__additional-text">
|
|
30
|
-
{{additional_text}}
|
|
31
|
-
</div>
|
|
32
|
-
{{/if}}
|
|
33
|
-
</div>
|
|
34
54
|
{{/with}}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{{#if strip_stickers.length}}
|
|
2
2
|
<div class="strip-stickers">
|
|
3
3
|
{{#each strip_stickers}}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
{{#if (startsWith this.background '#')}}
|
|
5
|
+
<div class="strip-sticker" style="background-color: {{this.background}}; color: {{this.text_colour}};">
|
|
6
|
+
{{text}}
|
|
7
|
+
</div>
|
|
8
|
+
{{else}}
|
|
9
|
+
<div class="strip-sticker strip-sticker--{{this.background}} strip-sticker--text-{{this.text_colour}}">
|
|
10
|
+
{{text}}
|
|
11
|
+
</div>
|
|
12
|
+
{{/if}}
|
|
7
13
|
{{/each}}
|
|
8
14
|
</div>
|
|
9
15
|
{{/if}}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{{#each cards}}
|
|
2
|
+
<div class="package-card">
|
|
3
|
+
<a href="#">
|
|
4
|
+
<img class="package-card__image" src="{{image.url}}" alt="{{image.altText}}">
|
|
5
|
+
</a>
|
|
6
|
+
|
|
7
|
+
<div class="package-card__content">
|
|
8
|
+
<h4 class="package-card__title">{{title}}</h4>
|
|
9
|
+
<ul class="package-card__usp">
|
|
10
|
+
{{#each usp}}
|
|
11
|
+
<li class="package-card__usp-item">
|
|
12
|
+
<span class="package-card__icon icon">
|
|
13
|
+
<span class="fas fa-check"></span>
|
|
14
|
+
</span>
|
|
15
|
+
<span>{{this}}</span>
|
|
16
|
+
</li>
|
|
17
|
+
{{/each}}
|
|
18
|
+
</ul>
|
|
19
|
+
<div class="package-card__price">
|
|
20
|
+
{{> kitchen/price price=priceData small=true switch-vat=../switch-vat}}
|
|
21
|
+
</div>
|
|
22
|
+
<div class="package-card__stickers">
|
|
23
|
+
{{#if strip_stickers}}
|
|
24
|
+
{{> kitchen/strip-stickers strip-stickers=strip_stickers}}
|
|
25
|
+
{{/if}}
|
|
26
|
+
</div>
|
|
27
|
+
<a href="#" class="package-card__button btn btn-primary btn_full">View Suite</a>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
{{/each}}
|
|
@@ -84,3 +84,20 @@
|
|
|
84
84
|
</button>
|
|
85
85
|
</div>
|
|
86
86
|
{{/if}}
|
|
87
|
+
{{#if package}}
|
|
88
|
+
{{#if postcodeChecker}}
|
|
89
|
+
{{> postcode-checker modifyClass="postcode-checker--desktop-only"}}
|
|
90
|
+
{{else}}
|
|
91
|
+
<div class="pdp-price__bulk-add">
|
|
92
|
+
{{> button
|
|
93
|
+
text="Add to basket"
|
|
94
|
+
full=true
|
|
95
|
+
action=true
|
|
96
|
+
type="button"
|
|
97
|
+
showLoader=true
|
|
98
|
+
modification="package-bulk-add d-none d-md-block"
|
|
99
|
+
loaderModifier="postcode-checker__button-loader"
|
|
100
|
+
}}
|
|
101
|
+
</div>
|
|
102
|
+
{{/if}}
|
|
103
|
+
{{/if}}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<div class="postcode-checker {{modifyClass}}">
|
|
2
|
+
<p class="postcode-checker__title">Enter your postcode to check delivery stock in your area & add to basket</p>
|
|
3
|
+
<div class="postcode-checker__field">
|
|
4
|
+
<input
|
|
5
|
+
class="tbx postcode-checker__input"
|
|
6
|
+
type="text"
|
|
7
|
+
placeholder=""
|
|
8
|
+
id="postcode-checker"
|
|
9
|
+
name="postcode-checker"
|
|
10
|
+
/>
|
|
11
|
+
</div>
|
|
12
|
+
<p class="postcode-checker__error">Please enter a valid postcode</p>
|
|
13
|
+
<div class="postcode-checker__action">
|
|
14
|
+
{{> button
|
|
15
|
+
text="Add to basket"
|
|
16
|
+
full=true
|
|
17
|
+
action=true
|
|
18
|
+
type="button"
|
|
19
|
+
showLoader=true
|
|
20
|
+
modification="postcode-checker__button"
|
|
21
|
+
loaderModifier="postcode-checker__button-loader"
|
|
22
|
+
}}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<div class="pdp__badges-wrapper">
|
|
2
|
-
|
|
3
|
-
{{#if
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
{{#each badges}}
|
|
3
|
+
<div class="pdp__badges {{#if ../isStaticBadges}}pdp__badges--static{{/if}} pdp-price-container__badges price__badges-v2 price__badges-v2-{{bgcolor}}
|
|
4
|
+
{{#if text-color}}price__badges-v2-text-{{text-color}}{{/if}}
|
|
5
|
+
{{#if badge-wide}}price__badges-v2-wide{{/if}}">
|
|
6
|
+
{{#ifCond ../switch-vat '&&' text-exc}}
|
|
7
|
+
<div class="pdp__badge including-vat">{{text}}</div>
|
|
8
|
+
<div class="pdp__badge excluding-vat d-none">{{text-exc}}</div>
|
|
9
|
+
{{else}}
|
|
10
|
+
<div class="pdp__badge">{{text}}</div>
|
|
11
|
+
{{/ifCond}}
|
|
12
|
+
</div>
|
|
13
|
+
{{/each}}
|
|
12
14
|
</div>
|