wickes-css2 2.109.0-develop.2 → 2.109.0-develop.4
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/card-product-banner.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/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.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/store-locator-main.css +1 -1
- package/build/js/basket.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +490 -56
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/page/basket/mini-basket-total.js +17 -2
- package/build/js/page/basket-v2.js +30 -26
- package/build/js/page/components/notify-me.js +99 -0
- package/build/js/page/components/order-summary.js +35 -0
- package/build/js/pdp.bundle.min.js +2 -1
- package/build/js/wickes-dc.js +1 -0
- package/package.json +1 -3
- package/src/components/base/button.hbs +1 -1
- package/src/components/card_product_banner_v2.hbs +4 -1
- package/src/components/card_sponsor_banner.hbs +4 -1
- package/src/components/checkout_order-summary-new.hbs +10 -1
- package/src/components/click-and-collect-modal.hbs +0 -14
- package/src/components/date-selection.hbs +1 -1
- package/src/components/delivery-types.hbs +11 -3
- package/src/components/injected-content.hbs +6 -1
- package/src/components/modal.hbs +1 -1
- package/src/components/modals/notify-me-modal.hbs +76 -0
- package/src/components/order-item.hbs +7 -7
- package/src/components/order-summary.hbs +2 -2
- package/src/components/potential-promotion.hbs +4 -4
- package/src/components/price-block-v2.hbs +211 -214
- package/src/components/sponsor-top-banner.hbs +10 -0
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/data/data_search-results_v2.json +9 -2
- package/src/data/data_shopping-cart-v2.json +46 -2
- package/src/data/data_shopping-cart-with-energy.json +26 -2
- package/src/data/data_spr_injected_content.json +4 -0
- package/src/js/emulation/basket-data.js +312 -0
- package/src/js/emulation/checkout-delivery-details.js +28 -25
- package/src/js/emulation/custom-slider-emulation.js +1 -1
- package/src/js/emulation/date-selection.js +136 -24
- package/src/js/emulation/forms.js +12 -0
- package/src/js/emulation/mini-basket-data.js +3 -3
- package/src/js/emulation/notify-me.js +9 -0
- package/src/js/emulation/switchCalendar.js +12 -8
- package/src/js/page/basket/mini-basket-total.js +17 -2
- package/src/js/page/basket-v2.js +30 -26
- package/src/js/page/components/notify-me.js +99 -0
- package/src/js/page/components/order-summary.js +35 -0
- package/src/page_checkout_next-day-delivery-details.html +2 -2
- package/src/page_checkout_payment-details-v2-asm.html +1 -1
- package/src/page_checkout_payment-details-v2.html +1 -1
- package/src/page_checkout_payment-details_with-card-loader.html +1 -1
- package/src/page_checkout_payment-details_with-klarna-loader.html +1 -1
- package/src/page_checkout_payment-details_with-loader-v2.html +1 -1
- package/src/page_checkout_rapid-delivery-details.html +7 -5
- package/src/page_klarna_payment-details_with-klarna.html +1 -1
- package/src/page_payment-details-with-billie.html +1 -1
- package/src/page_payment-details-with-clearpay.html +1 -1
- package/src/page_payment-details-with-gift-card.html +1 -1
- package/src/page_payment-details_with_apple-pay.html +1 -1
- package/src/page_payment-details_with_google-pay.html +1 -1
- package/src/page_plp_v2.html +1 -0
- package/src/page_product-details-mfe-calculator.html +9 -3
- package/src/scss/common/_CTAs.scss +7 -3
- package/src/scss/components/_custom-slider.scss +18 -0
- package/src/scss/components/_date-selection-add-new-styles.scss +43 -1
- package/src/scss/components/_notify-me-modal.scss +139 -0
- package/src/scss/components/_order-summary.scss +25 -12
- package/src/scss/components/_price-block-critical.scss +2 -2
- package/src/scss/components/_price-block.scss +14 -4
- package/src/scss/components/card-product-banner.scss +8 -0
- package/src/scss/helpers/_CTAs.scss +15 -5
- package/src/scss/pages/page_checkout_delivery-new.scss +36 -0
- package/src/scss/pages/page_products-list-combined.scss +8 -1
- package/src/scss/pages/page_products-list.scss +8 -1
- package/src/scss/pages/page_shopping-cart-v2.scss +34 -10
- package/src/scss/pdp-main.scss +1 -0
|
@@ -1,232 +1,229 @@
|
|
|
1
1
|
<div class="pdp-price-container">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
<div class="pdp-price__terms">
|
|
39
|
-
<a href="#">
|
|
40
|
-
Cashback Terms and Conditions
|
|
41
|
-
</a>
|
|
42
|
-
</div>
|
|
43
|
-
{{else}}
|
|
44
|
-
<div class="pdp-price__description">
|
|
45
|
-
Offer price equivalent to £24 per item
|
|
46
|
-
</div>
|
|
47
|
-
{{/if}}
|
|
48
|
-
{{/if}}
|
|
49
|
-
|
|
50
|
-
{{else}}
|
|
51
|
-
<div class="pdp-price__price">£79.99</div>
|
|
52
|
-
{{/if}}
|
|
2
|
+
{{#if isDiscount}}
|
|
3
|
+
<div class="pdp__badges pdp-price-container__badges price__badges-v2 price__badges-v2-{{badge-color}}
|
|
4
|
+
{{#if badge-text-color}}price__badges-v2-text-{{badge-text-color}}{{/if}}
|
|
5
|
+
{{#if badge-wide}}price__badges-v2-wide{{/if}}">
|
|
6
|
+
{{#ifCond switch-vat '&&' badge-text-exc}}
|
|
7
|
+
<div class="pdp__badge including-vat">{{badge-text}}</div>
|
|
8
|
+
<div class="pdp__badge excluding-vat d-none">{{badge-text-exc}}</div>
|
|
9
|
+
{{else}}
|
|
10
|
+
<div class="pdp__badge">{{badge-text}}</div>
|
|
11
|
+
{{/ifCond}}
|
|
12
|
+
</div>
|
|
13
|
+
{{/if}}
|
|
14
|
+
<div class="pdp-price">
|
|
15
|
+
<div class="pdp-price__value">
|
|
16
|
+
{{#if switch-vat}}
|
|
17
|
+
<div class="pdp-price-sale__value including-vat">
|
|
18
|
+
{{#if isDiscount}}
|
|
19
|
+
<div class="pdp-price__old-price"><s>£119.99</s></div>
|
|
20
|
+
<div class="main-price">
|
|
21
|
+
<div class="main-price__value pdp-price__new-price">£79.99</div>
|
|
22
|
+
<div class="main-price__vat">Inc.VAT</div>
|
|
23
|
+
</div>
|
|
24
|
+
{{#if isSQM}}
|
|
25
|
+
<div class="pdp-price__sqm">£40 per SQM</div>
|
|
26
|
+
{{/if}}
|
|
27
|
+
<div class="pdp-price__remainder">You save £40</div>
|
|
28
|
+
{{#if isExcludingDelivery}}
|
|
29
|
+
<a href="#" class="pdp-price__excluding-delivery">Excluding delivery</a>
|
|
30
|
+
{{/if}}
|
|
31
|
+
{{#if isDescription}}
|
|
32
|
+
{{#if isCashback}}
|
|
33
|
+
<div class="pdp-price__description">
|
|
34
|
+
*Cashback offer valid until 31st May 2019.
|
|
35
|
+
Claim by 31st July 2019.
|
|
36
|
+
Terms & conditions apply.
|
|
53
37
|
</div>
|
|
54
|
-
<div class="pdp-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<div class="main-price__value pdp-price__new-price">£78.99</div>
|
|
59
|
-
<div class="main-price__vat">Exc.VAT</div>
|
|
60
|
-
</div>
|
|
61
|
-
{{#if isSQM}}
|
|
62
|
-
<div class="pdp-price__sqm">£39 per SQM</div>
|
|
63
|
-
{{/if}}
|
|
64
|
-
<div class="pdp-price__remainder">You save £39</div>
|
|
65
|
-
{{#if isExcludingDelivery}}
|
|
66
|
-
<a href="#" class="pdp-price__excluding-delivery">Excluding delivery</a>
|
|
67
|
-
{{/if}}
|
|
68
|
-
{{#if isDescription}}
|
|
69
|
-
{{#if isCashback}}
|
|
70
|
-
<div class="pdp-price__description">
|
|
71
|
-
*Cashback offer valid until 31st May 2019.
|
|
72
|
-
Claim by 31st July 2019.
|
|
73
|
-
Terms & conditions apply.
|
|
74
|
-
</div>
|
|
75
|
-
<div class="pdp-price__terms">
|
|
76
|
-
<a href="#">
|
|
77
|
-
Cashback Terms and Conditions
|
|
78
|
-
</a>
|
|
79
|
-
</div>
|
|
80
|
-
{{else}}
|
|
81
|
-
<div class="pdp-price__description">
|
|
82
|
-
Offer price equivalent to £23 per item
|
|
83
|
-
</div>
|
|
84
|
-
{{/if}}
|
|
85
|
-
{{/if}}
|
|
86
|
-
|
|
87
|
-
{{else}}
|
|
88
|
-
<div class="pdp-price__price">£79.99</div>
|
|
89
|
-
{{/if}}
|
|
38
|
+
<div class="pdp-price__terms">
|
|
39
|
+
<a href="#">
|
|
40
|
+
Cashback Terms and Conditions
|
|
41
|
+
</a>
|
|
90
42
|
</div>
|
|
91
|
-
|
|
92
|
-
<div class="pdp-
|
|
93
|
-
|
|
94
|
-
<div class="pdp-price__old-price"><s>£119.99</s></div>
|
|
95
|
-
<div class="pdp-price__new-price">£79.99</div>
|
|
96
|
-
{{#if isSQM}}
|
|
97
|
-
<div class="pdp-price__sqm">£40 per SQM</div>
|
|
98
|
-
{{/if}}
|
|
99
|
-
<div class="pdp-price__remainder">You save £40</div>
|
|
100
|
-
{{#if isExcludingDelivery}}
|
|
101
|
-
<a href="#" class="pdp-price__excluding-delivery">Excluding delivery</a>
|
|
102
|
-
{{/if}}
|
|
103
|
-
{{#if isDescription}}
|
|
104
|
-
{{#if isCashback}}
|
|
105
|
-
<div class="pdp-price__description">
|
|
106
|
-
*Cashback offer valid until 31st May 2019.
|
|
107
|
-
Claim by 31st July 2019.
|
|
108
|
-
Terms & conditions apply.
|
|
109
|
-
</div>
|
|
110
|
-
<div class="pdp-price__terms">
|
|
111
|
-
<a href="#">
|
|
112
|
-
Cashback Terms and Conditions
|
|
113
|
-
</a>
|
|
114
|
-
</div>
|
|
115
|
-
{{else}}
|
|
116
|
-
<div class="pdp-price__description">
|
|
117
|
-
Long offer message Lorem ipsum dolor sit amet,
|
|
118
|
-
consectetur adipiscing elit.
|
|
119
|
-
Aenean euismod bibendum laoreet
|
|
120
|
-
</div>
|
|
121
|
-
{{/if}}
|
|
122
|
-
{{/if}}
|
|
123
|
-
{{else}}
|
|
124
|
-
<div class="pdp-price__price">£79.99</div>
|
|
125
|
-
{{/if}}
|
|
43
|
+
{{else}}
|
|
44
|
+
<div class="pdp-price__description">
|
|
45
|
+
Offer price equivalent to £24 per item
|
|
126
46
|
</div>
|
|
47
|
+
{{/if}}
|
|
127
48
|
{{/if}}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
<div class="pdp-price__billie-payment">
|
|
140
|
-
{{> billie-online-messaging}}
|
|
49
|
+
|
|
50
|
+
{{else}}
|
|
51
|
+
<div class="pdp-price__price">£79.99</div>
|
|
52
|
+
{{/if}}
|
|
53
|
+
</div>
|
|
54
|
+
<div class="pdp-price-sale__value excluding-vat d-none">
|
|
55
|
+
{{#if isDiscount}}
|
|
56
|
+
<div class="pdp-price__old-price"><s>£118.99</s></div>
|
|
57
|
+
<div class="main-price">
|
|
58
|
+
<div class="main-price__value pdp-price__new-price">£78.99</div>
|
|
59
|
+
<div class="main-price__vat">Exc.VAT</div>
|
|
141
60
|
</div>
|
|
61
|
+
{{#if isSQM}}
|
|
62
|
+
<div class="pdp-price__sqm">£39 per SQM</div>
|
|
142
63
|
{{/if}}
|
|
143
|
-
|
|
144
|
-
|
|
64
|
+
<div class="pdp-price__remainder">You save £39</div>
|
|
65
|
+
{{#if isExcludingDelivery}}
|
|
66
|
+
<a href="#" class="pdp-price__excluding-delivery">Excluding delivery</a>
|
|
145
67
|
{{/if}}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
68
|
+
{{#if isDescription}}
|
|
69
|
+
{{#if isCashback}}
|
|
70
|
+
<div class="pdp-price__description">
|
|
71
|
+
*Cashback offer valid until 31st May 2019.
|
|
72
|
+
Claim by 31st July 2019.
|
|
73
|
+
Terms & conditions apply.
|
|
152
74
|
</div>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
<span class="btn__text">Notify Me</span>
|
|
158
|
-
</a>
|
|
159
|
-
<p>Currently out of stock, use our Notify Me button to receive an email when this item is available</p>
|
|
160
|
-
</div>
|
|
161
|
-
{{else}}
|
|
162
|
-
<div class="pdp-price__oos">
|
|
163
|
-
<strong>Out of Stock</strong>
|
|
164
|
-
<p>Sorry, this product is out of stock</p>
|
|
165
|
-
</div>
|
|
166
|
-
<div class="pdp-price__in-store-only">
|
|
167
|
-
<p>In Store Only</p>
|
|
168
|
-
</div>
|
|
169
|
-
{{/if}}
|
|
170
|
-
<div class="pdp-price__controls">
|
|
171
|
-
{{#if isSize}}
|
|
172
|
-
<div class="pdp-price__size">
|
|
173
|
-
{{> form-row row-mod="sort-order-by" dropdown="true" id="d1" placeholder="Please select a size"}}
|
|
75
|
+
<div class="pdp-price__terms">
|
|
76
|
+
<a href="#">
|
|
77
|
+
Cashback Terms and Conditions
|
|
78
|
+
</a>
|
|
174
79
|
</div>
|
|
80
|
+
{{else}}
|
|
81
|
+
<div class="pdp-price__description">
|
|
82
|
+
Offer price equivalent to £23 per item
|
|
83
|
+
</div>
|
|
84
|
+
{{/if}}
|
|
175
85
|
{{/if}}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
{{#if big-wins}}
|
|
180
|
-
control-holder__big-wins
|
|
86
|
+
|
|
87
|
+
{{else}}
|
|
88
|
+
<div class="pdp-price__price">£79.99</div>
|
|
181
89
|
{{/if}}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
{{/unless}}
|
|
191
|
-
{{#unless default-store}}
|
|
192
|
-
<div class="pdp-price__calculator-wrapper">
|
|
193
|
-
<a href="#">
|
|
194
|
-
<span class="icon">
|
|
195
|
-
<i class="far fa-calculator"></i>
|
|
196
|
-
</span>
|
|
197
|
-
Calculator
|
|
198
|
-
</a>
|
|
199
|
-
</div>
|
|
200
|
-
{{/unless}}
|
|
201
|
-
</div>
|
|
202
|
-
{{#if mfeProductCalculator}}
|
|
203
|
-
<div class="pdp-price__quantity-calculator">MFE Calculator Placeholder</div>
|
|
90
|
+
</div>
|
|
91
|
+
{{else}}
|
|
92
|
+
<div class="pdp-price-sale__value">
|
|
93
|
+
{{#if isDiscount}}
|
|
94
|
+
<div class="pdp-price__old-price"><s>£119.99</s></div>
|
|
95
|
+
<div class="pdp-price__new-price">£79.99</div>
|
|
96
|
+
{{#if isSQM}}
|
|
97
|
+
<div class="pdp-price__sqm">£40 per SQM</div>
|
|
204
98
|
{{/if}}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
<div class="pdp-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
</div>
|
|
227
|
-
{{/unless}}
|
|
99
|
+
<div class="pdp-price__remainder">You save £40</div>
|
|
100
|
+
{{#if isExcludingDelivery}}
|
|
101
|
+
<a href="#" class="pdp-price__excluding-delivery">Excluding delivery</a>
|
|
102
|
+
{{/if}}
|
|
103
|
+
{{#if isDescription}}
|
|
104
|
+
{{#if isCashback}}
|
|
105
|
+
<div class="pdp-price__description">
|
|
106
|
+
*Cashback offer valid until 31st May 2019.
|
|
107
|
+
Claim by 31st July 2019.
|
|
108
|
+
Terms & conditions apply.
|
|
109
|
+
</div>
|
|
110
|
+
<div class="pdp-price__terms">
|
|
111
|
+
<a href="#">
|
|
112
|
+
Cashback Terms and Conditions
|
|
113
|
+
</a>
|
|
114
|
+
</div>
|
|
115
|
+
{{else}}
|
|
116
|
+
<div class="pdp-price__description">
|
|
117
|
+
Long offer message Lorem ipsum dolor sit amet,
|
|
118
|
+
consectetur adipiscing elit.
|
|
119
|
+
Aenean euismod bibendum laoreet
|
|
228
120
|
</div>
|
|
121
|
+
{{/if}}
|
|
229
122
|
{{/if}}
|
|
123
|
+
{{else}}
|
|
124
|
+
<div class="pdp-price__price">£79.99</div>
|
|
125
|
+
{{/if}}
|
|
126
|
+
</div>
|
|
127
|
+
{{/if}}
|
|
128
|
+
{{#if currentlyInStock}}
|
|
129
|
+
<div class="pdp-price__value pdp-price__value_extended">
|
|
130
|
+
<div class="pdp-price__delivery">
|
|
131
|
+
<span class="delivery-link">Delivery</span>
|
|
132
|
+
<span class="delivery-info">Available to certain postcodes</span>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
{{else if notifyMe}}
|
|
136
|
+
<div class="pdp-price__oos">
|
|
137
|
+
<a href="#" class="btn btn-primary btn_full btn--notify-open" data-target="#modal-notify-me">
|
|
138
|
+
<i class="fas fa-bell"></i>
|
|
139
|
+
<span class="btn__text">Notify Me</span>
|
|
140
|
+
</a>
|
|
141
|
+
<p>Currently out of stock, use our Notify Me button to receive an email when this product is available</p>
|
|
142
|
+
</div>
|
|
143
|
+
{{else}}
|
|
144
|
+
<div class="pdp-price__oos">
|
|
145
|
+
<strong>Out of Stock</strong>
|
|
146
|
+
<p>Sorry, this product is out of stock</p>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="pdp-price__in-store-only">
|
|
149
|
+
<p>In Store Only</p>
|
|
150
|
+
</div>
|
|
151
|
+
{{/if}}
|
|
152
|
+
{{#if klarna-placement}}
|
|
153
|
+
<div class="pdp-price__klarna-payment">
|
|
154
|
+
<klarna-placement
|
|
155
|
+
data-key="credit-promotion-badge"
|
|
156
|
+
data-locale="en-GB"
|
|
157
|
+
data-purchase-amount="12000"
|
|
158
|
+
{{#if klarna-method-ids}}data-custom-payment-method-ids="{{klarna-method-ids}}"{{/if}}
|
|
159
|
+
></klarna-placement>
|
|
160
|
+
</div>
|
|
161
|
+
{{/if}}
|
|
162
|
+
{{#if billie-placement}}
|
|
163
|
+
<div class="pdp-price__billie-payment">
|
|
164
|
+
{{> billie-online-messaging}}
|
|
165
|
+
</div>
|
|
166
|
+
{{/if}}
|
|
167
|
+
{{#if clearpay-placement}}
|
|
168
|
+
{{> clearpay}}
|
|
169
|
+
{{/if}}
|
|
170
|
+
</div>
|
|
171
|
+
<div class="pdp-price__controls">
|
|
172
|
+
{{#if isSize}}
|
|
173
|
+
<div class="pdp-price__size">
|
|
174
|
+
{{> form-row row-mod="sort-order-by" dropdown="true" id="d1" placeholder="Please select a size"}}
|
|
175
|
+
</div>
|
|
176
|
+
{{/if}}
|
|
177
|
+
|
|
178
|
+
{{#if (or (not isQuantity) (not default-store))}}
|
|
179
|
+
<div class="pdp-price__control-holder {{#unless wisdom}}{{#if big-wins}}control-holder__big-wins{{/if}}{{/unless}}">
|
|
180
|
+
{{#unless isQuantity}}
|
|
181
|
+
<label for="quantity-field" class="quantity-label">Quantity: </label>
|
|
182
|
+
<input type="text" inputmode="numeric" pattern="[0-9]*" id="quantity-field"
|
|
183
|
+
class="tbx tbx_quantity"
|
|
184
|
+
value="1">
|
|
185
|
+
{{/unless}}
|
|
186
|
+
{{#unless default-store}}
|
|
187
|
+
<div class="pdp-price__calculator-wrapper">
|
|
188
|
+
<a href="#">
|
|
189
|
+
<span class="icon">
|
|
190
|
+
<i class="far fa-calculator"></i>
|
|
191
|
+
</span>
|
|
192
|
+
Calculator
|
|
193
|
+
</a>
|
|
194
|
+
</div>
|
|
195
|
+
{{/unless}}
|
|
196
|
+
</div>
|
|
197
|
+
{{/if}}
|
|
198
|
+
|
|
199
|
+
{{#if mfeProductCalculator}}
|
|
200
|
+
<div class="pdp-price__quantity-calculator">MFE Calculator Placeholder</div>
|
|
201
|
+
{{/if}}
|
|
202
|
+
{{#if currentlyInStock}}
|
|
203
|
+
{{> pdp-price-actions
|
|
204
|
+
installation=install
|
|
205
|
+
order-sample=sample
|
|
206
|
+
c-and-c=cc
|
|
207
|
+
delivery=delivery
|
|
208
|
+
big-wins=big-wins
|
|
209
|
+
wisdom=wisdom
|
|
210
|
+
mcfc=mcfc
|
|
211
|
+
available=available
|
|
212
|
+
stock-accordion="stock-accordion"
|
|
213
|
+
isUserNonRegistered=isUserNonRegistered
|
|
214
|
+
nearest-purchase=nearest-purchase
|
|
215
|
+
unhappy=unhappy
|
|
216
|
+
nearestAmount=nearestAmount
|
|
217
|
+
nearestName=nearestName
|
|
218
|
+
}}
|
|
219
|
+
<div class="pdp-price__call-to-actions">
|
|
220
|
+
{{#unless default-store}}
|
|
221
|
+
<div class="pdp-price__control-holder pdp-price__actions">
|
|
222
|
+
<a href="#" class="link-secondary">Check stock in your local store</a>
|
|
223
|
+
</div>
|
|
224
|
+
{{/unless}}
|
|
230
225
|
</div>
|
|
226
|
+
{{/if}}
|
|
231
227
|
</div>
|
|
228
|
+
</div>
|
|
232
229
|
</div>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{{#if search-result_v2.sponsor-top-banner}}
|
|
2
|
+
<div class="sponsor-top-banner sponsored-ad">
|
|
3
|
+
<a class="sponsor-top-banner__link" href="{{search-result_v2.sponsor-top-banner.href}}">
|
|
4
|
+
<picture class="sponsor-top-banner__picture">
|
|
5
|
+
<source class="sponsor-top-banner__image" srcset="{{#if search-result_v2.sponsor-top-banner.mobile-src}}{{search-result_v2.sponsor-top-banner.mobile-src}}{{else}}{{search-result_v2.sponsor-top-banner.src}}{{/if}}" media="(max-width: 768px)">
|
|
6
|
+
<img class="sponsor-top-banner__image" src="{{search-result_v2.sponsor-top-banner.src}}" alt="banner">
|
|
7
|
+
</picture>
|
|
8
|
+
</a>
|
|
9
|
+
</div>
|
|
10
|
+
{{/if}}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"search-result_v2": {
|
|
3
|
+
"sponsor-top-banner": {
|
|
4
|
+
"src": "https://placehold.co/1200x200?text=Top+Banner+Desktop",
|
|
5
|
+
"mobile-src": "https://placehold.co/600x200?text=Top+Banner+Mobile",
|
|
6
|
+
"href": "/sitemap.html"
|
|
7
|
+
},
|
|
3
8
|
"product-banner": [
|
|
4
9
|
{
|
|
5
|
-
"src": "https://placehold.co/912x1426?text=
|
|
10
|
+
"src": "https://placehold.co/912x1426?text=Hybris+Banner+Desktop",
|
|
11
|
+
"mobile-src": "https://placehold.co/600x400?text=Hybris+Banner+Mobile",
|
|
6
12
|
"href": "/sitemap.html",
|
|
7
13
|
"desktop-position": 8,
|
|
8
14
|
"mobile-position": 7,
|
|
@@ -64,7 +70,8 @@
|
|
|
64
70
|
],
|
|
65
71
|
"sponsor-banner": [
|
|
66
72
|
{
|
|
67
|
-
"src": "https://placehold.co/912x1426?text=
|
|
73
|
+
"src": "https://placehold.co/912x1426?text=Sponsor+Banner+Desktop",
|
|
74
|
+
"mobile-src": "https://placehold.co/600x400?text=Sponsor+Banner+Mobile",
|
|
68
75
|
"href": "/sitemap.html",
|
|
69
76
|
"desktop-position": 6,
|
|
70
77
|
"mobile-position": 8
|
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
"potentialOrderPromotions": [
|
|
10
10
|
{
|
|
11
11
|
"description": "Spend over £200 on Bathroom Lighting and save £10.0",
|
|
12
|
-
"descriptionExcVat": "Spend over £150 on Bathroom Lighting and save £10.0"
|
|
12
|
+
"descriptionExcVat": "Spend over £150 on Bathroom Lighting and save £10.0",
|
|
13
|
+
"displayDescription": "Spend over £200 on Bathroom Lighting and save £10.0",
|
|
14
|
+
"displayDescriptionExclusiveVat": "Spend over £150 on Bathroom Lighting and save £10.0"
|
|
13
15
|
},
|
|
14
16
|
{
|
|
15
17
|
"description": "Spend over 2500 pound and get £2500 discount",
|
|
16
|
-
"descriptionExcVat": "Spend over 2000 pound and get £2000 discount"
|
|
18
|
+
"descriptionExcVat": "Spend over 2000 pound and get £2000 discount",
|
|
19
|
+
"displayDescription": "Spend over 2500 pound and get £2500 discount",
|
|
20
|
+
"displayDescriptionExclusiveVat": "Spend over 2000 pound and get £2000 discount"
|
|
17
21
|
}
|
|
18
22
|
],
|
|
19
23
|
"checkout": {
|
|
@@ -89,6 +93,10 @@
|
|
|
89
93
|
"quantity": 2,
|
|
90
94
|
"total": "32",
|
|
91
95
|
"totalExcVat": "30",
|
|
96
|
+
"displayBasePrice": "16",
|
|
97
|
+
"displayBasePriceExclusiveVat": "15",
|
|
98
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
99
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
92
100
|
"offers": [
|
|
93
101
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
94
102
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -348,6 +356,10 @@
|
|
|
348
356
|
"quantity": 123,
|
|
349
357
|
"total": "19776",
|
|
350
358
|
"totalExcVat": "19000",
|
|
359
|
+
"displayBasePrice": "16",
|
|
360
|
+
"displayBasePriceExclusiveVat": "15",
|
|
361
|
+
"displayItemTotalWithoutDiscount": "19776",
|
|
362
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "19000",
|
|
351
363
|
"message": "Purchased 12 times since your last visit 1 day ago",
|
|
352
364
|
"click-and-collect": {
|
|
353
365
|
"otherStores": [
|
|
@@ -583,6 +595,10 @@
|
|
|
583
595
|
"quantity": 2,
|
|
584
596
|
"total": "32",
|
|
585
597
|
"totalExcVat": "30",
|
|
598
|
+
"displayBasePrice": "16",
|
|
599
|
+
"displayBasePriceExclusiveVat": "15",
|
|
600
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
601
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
586
602
|
"click-and-collect": {
|
|
587
603
|
"otherStores": [
|
|
588
604
|
{
|
|
@@ -815,6 +831,10 @@
|
|
|
815
831
|
"priceExcVat": "15",
|
|
816
832
|
"total": "32",
|
|
817
833
|
"totalExcVat": "30",
|
|
834
|
+
"displayBasePrice": "16",
|
|
835
|
+
"displayBasePriceExclusiveVat": "15",
|
|
836
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
837
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
818
838
|
"quantity": 1,
|
|
819
839
|
"totalMobile": "16",
|
|
820
840
|
"click-and-collect": {
|
|
@@ -1056,6 +1076,10 @@
|
|
|
1056
1076
|
"quantity": 2,
|
|
1057
1077
|
"total": "32",
|
|
1058
1078
|
"totalExcVat": "30",
|
|
1079
|
+
"displayBasePrice": "16",
|
|
1080
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1081
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
1082
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
1059
1083
|
"offers": [
|
|
1060
1084
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
1061
1085
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -1079,6 +1103,10 @@
|
|
|
1079
1103
|
"quantity": 123,
|
|
1080
1104
|
"total": "19776",
|
|
1081
1105
|
"totalExcVat": "19000",
|
|
1106
|
+
"displayBasePrice": "16",
|
|
1107
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1108
|
+
"displayItemTotalWithoutDiscount": "19776",
|
|
1109
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "19000",
|
|
1082
1110
|
"message": "Purchased 12 times since your last visit 1 day ago",
|
|
1083
1111
|
"address": "Watford",
|
|
1084
1112
|
"updateable": true
|
|
@@ -1094,6 +1122,10 @@
|
|
|
1094
1122
|
"quantity": 2,
|
|
1095
1123
|
"total": "32",
|
|
1096
1124
|
"totalExcVat": "30",
|
|
1125
|
+
"displayBasePrice": "16",
|
|
1126
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1127
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
1128
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
1097
1129
|
"updateable": true
|
|
1098
1130
|
|
|
1099
1131
|
},
|
|
@@ -1105,6 +1137,10 @@
|
|
|
1105
1137
|
"priceExcVat": "15",
|
|
1106
1138
|
"total": "32",
|
|
1107
1139
|
"totalExcVat": "30",
|
|
1140
|
+
"displayBasePrice": "16",
|
|
1141
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1142
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
1143
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
1108
1144
|
"code": "1231210",
|
|
1109
1145
|
"quantity": 1,
|
|
1110
1146
|
"totalMobile": "16",
|
|
@@ -1118,6 +1154,10 @@
|
|
|
1118
1154
|
"priceExcVat": "0",
|
|
1119
1155
|
"total": "0",
|
|
1120
1156
|
"totalExcVat": "0",
|
|
1157
|
+
"displayBasePrice": "0",
|
|
1158
|
+
"displayBasePriceExclusiveVat": "0",
|
|
1159
|
+
"displayItemTotalWithoutDiscount": "0",
|
|
1160
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "0",
|
|
1121
1161
|
"updateable": false,
|
|
1122
1162
|
"code": "1231211",
|
|
1123
1163
|
"quantity": 1,
|
|
@@ -1139,6 +1179,10 @@
|
|
|
1139
1179
|
"quantity": 1,
|
|
1140
1180
|
"total": "968",
|
|
1141
1181
|
"totalExcVat": "960",
|
|
1182
|
+
"displayBasePrice": "968",
|
|
1183
|
+
"displayBasePriceExclusiveVat": "960",
|
|
1184
|
+
"displayItemTotalWithoutDiscount": "968",
|
|
1185
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "960",
|
|
1142
1186
|
"deliveryStock": true,
|
|
1143
1187
|
"onlyDeliveryType": true
|
|
1144
1188
|
}
|