wickes-css2 2.98.0-develop.8 → 2.98.0-develop.9

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 (114) hide show
  1. package/Readme.md +4 -3
  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/global-search.css +1 -1
  5. package/build/css/components/loader.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/homepage-main.css +1 -1
  9. package/build/css/main.css +1 -1
  10. package/build/css/my-account-main-v2.css +1 -1
  11. package/build/css/my-account-main.css +1 -1
  12. package/build/css/pages/checkout-new.css +1 -1
  13. package/build/css/pages/checkout.css +1 -1
  14. package/build/css/pages/my-account-v2.css +1 -1
  15. package/build/css/pages/page_home.css +1 -1
  16. package/build/css/pages/page_my-order.css +1 -1
  17. package/build/css/pages/page_my-orders.css +1 -1
  18. package/build/css/pages/page_wismo-details.css +1 -1
  19. package/build/css/pdp-main-before-combine.css +1 -1
  20. package/build/css/pdp-main-critical.css +1 -1
  21. package/build/css/pdp-main-non-critical.css +1 -1
  22. package/build/css/pdp-main.css +1 -1
  23. package/build/css/plp-main.css +1 -1
  24. package/build/css/store-locator-main.css +1 -1
  25. package/build/img/billie-logo.svg +4 -0
  26. package/build/img/billie-modal.svg +4 -0
  27. package/build/img/billie-pdp.svg +11 -0
  28. package/build/img/billie-spinner.svg +5 -0
  29. package/build/img/billie.svg +4 -0
  30. package/build/img/calm-primary-logo.png +0 -0
  31. package/build/img/payment/checkout/billie.svg +4 -0
  32. package/build/img/payment/footer/billie.svg +4 -0
  33. package/build/js/basket.min.js +1 -1
  34. package/build/js/emulation.min.js +23 -11
  35. package/build/js/page/basket-v2.js +16 -7
  36. package/build/js/page/billie-business-type.js +34 -0
  37. package/build/js/page/checkout-payment-details.js +8 -0
  38. package/build/js/page/components/charity.js +58 -43
  39. package/build/js/page/components/modal-observer.js +51 -0
  40. package/package.json +1 -1
  41. package/src/components/address-billie.hbs +42 -0
  42. package/src/components/address-postcode-look-up.hbs +2 -2
  43. package/src/components/basket-charity-donations-new.hbs +40 -0
  44. package/src/components/billie-modal.hbs +41 -0
  45. package/src/components/billie-online-messaging.hbs +14 -0
  46. package/src/components/checkout-edit-billing-address.hbs +20 -6
  47. package/src/components/checkout-payment-details-v2.hbs +94 -55
  48. package/src/components/checkout-payment-info-block.hbs +49 -0
  49. package/src/components/checkout-payment-option.hbs +40 -0
  50. package/src/components/checkout_payment-new.hbs +10 -1
  51. package/src/components/donation-cart-new.hbs +38 -0
  52. package/src/components/modal.hbs +4 -1
  53. package/src/components/my-account/active-orders/list-orders.hbs +1 -1
  54. package/src/components/my-account/active-orders/order.hbs +2 -0
  55. package/src/components/my-account/active-orders/payment-status.hbs +17 -0
  56. package/src/components/my-account/payment-status.hbs +19 -0
  57. package/src/components/order-summary.hbs +3 -0
  58. package/src/components/payment-loader.hbs +59 -21
  59. package/src/components/payments-checkout-v2.hbs +12 -6
  60. package/src/components/payments-checkout.hbs +6 -0
  61. package/src/components/payments.hbs +10 -4
  62. package/src/components/price-block-v2.hbs +13 -8
  63. package/src/components/wismo-payment.hbs +16 -0
  64. package/src/data/data_shopping-cart-v2.json +51 -0
  65. package/src/data/data_wismo.json +53 -0
  66. package/src/data/my-account/data_my-account.json +57 -0
  67. package/src/elements/radiobutton.hbs +7 -0
  68. package/src/img/billie-logo.svg +4 -0
  69. package/src/img/billie-modal.svg +4 -0
  70. package/src/img/billie-pdp.svg +11 -0
  71. package/src/img/billie-spinner.svg +5 -0
  72. package/src/img/billie.svg +4 -0
  73. package/src/img/calm-primary-logo.png +0 -0
  74. package/src/img/payment/checkout/billie.svg +4 -0
  75. package/src/img/payment/footer/billie.svg +4 -0
  76. package/src/js/emulation/paymentLoader.js +22 -11
  77. package/src/js/page/basket-v2.js +16 -7
  78. package/src/js/page/billie-business-type.js +34 -0
  79. package/src/js/page/checkout-payment-details.js +8 -0
  80. package/src/js/page/components/charity.js +58 -43
  81. package/src/js/page/components/modal-observer.js +51 -0
  82. package/src/page_basket-billie.html +54 -0
  83. package/src/page_checkout_confirmation-billie.html +339 -0
  84. package/src/page_checkout_delivery-address-customer-journey.html +2 -2
  85. package/src/page_my-account.html +1 -0
  86. package/src/page_my-order.html +1 -1
  87. package/src/page_payment-details-with-billie.html +67 -0
  88. package/src/page_product-details-billie.html +87 -0
  89. package/src/page_shopping-cart-v2.html +4 -3
  90. package/src/page_wismo-details.html +2 -2
  91. package/src/partials/head.hbs +1 -5
  92. package/src/scss/common/_app.scss +0 -1
  93. package/src/scss/common/_elements.scss +4 -0
  94. package/src/scss/components/_billie-modal.scss +181 -0
  95. package/src/scss/components/_billie-online-messaging.scss +46 -0
  96. package/src/scss/components/_charity-donations.scss +114 -186
  97. package/src/scss/components/_donation-cart-new.scss +192 -0
  98. package/src/scss/components/_payments-checkout.scss +2 -1
  99. package/src/scss/components/_payments-v2.scss +8 -0
  100. package/src/scss/components/_tooltip.scss +19 -0
  101. package/src/scss/components/checkout-payment-details-v2.scss +237 -0
  102. package/src/scss/components/loader.scss +8 -0
  103. package/src/scss/components/my-account/_active-orders.scss +2 -0
  104. package/src/scss/components/my-account/_payment-status.scss +84 -0
  105. package/src/scss/components/price-block-v2-critical.scss +4 -0
  106. package/src/scss/components/price-block-v2.scss +4 -0
  107. package/src/scss/pages/_checkout-confirmation-new.scss +10 -3
  108. package/src/scss/pages/checkout-new.scss +3 -0
  109. package/src/scss/pages/my-account-v2.scss +2 -0
  110. package/src/scss/pages/page_wismo-details.scss +1 -0
  111. package/src/scss/pdp-main-critical.scss +1 -0
  112. package/src/scss/pdp-main.scss +2 -0
  113. package/src/sitemap.html +31 -2
  114. package/src/page_shopping-cart-charity.html +0 -56
@@ -0,0 +1,51 @@
1
+ var Wick = Wick || {};
2
+
3
+ Wick.ModalObserver = (function () {
4
+ const modal = $('.modal-scroll-observer');
5
+ modalContent = modal.find('.modal-content'),
6
+ modalBody = modal.find('.modal-body');
7
+
8
+ $(document).ready(function () {
9
+ if (!modal.length) {
10
+ return;
11
+ }
12
+
13
+ function updateScrollFades() {
14
+ const tolerance = 5;
15
+ const scrollTop = modalBody.scrollTop();
16
+ const scrollHeight = modalBody.prop('scrollHeight');
17
+ const visibleHeight = modalBody.outerHeight();
18
+
19
+ const isAtTop = scrollTop <= tolerance;
20
+ const isAtBottom = scrollTop + visibleHeight >= scrollHeight - tolerance;
21
+
22
+ let state;
23
+
24
+ if (isAtTop && isAtBottom) {
25
+ state = 'full';
26
+ } else if (isAtTop) {
27
+ state = 'top';
28
+ } else if (isAtBottom) {
29
+ state = 'bottom';
30
+ } else {
31
+ state = 'middle';
32
+ }
33
+
34
+ modalContent.attr('data-scroll-state', state);
35
+ }
36
+
37
+ modalBody.on('scroll', updateScrollFades);
38
+
39
+ modal.on('shown.bs.modal', function() {
40
+ updateScrollFades();
41
+ });
42
+
43
+ $(window).on('resize', function() {
44
+ if (modal.is(':visible')) {
45
+ updateScrollFades();
46
+ }
47
+ });
48
+
49
+ });
50
+
51
+ })();
@@ -0,0 +1,54 @@
1
+ {{#extend "basket-new" page_shopping-cart pageClass="page_basket basket" title="Basket-Billie" clearPayIcon=true pageBasket=true billieIcon=true}}
2
+ {{#content "head" mode="append"}}
3
+ <link type="text/css" rel="stylesheet" href="./css/pages/page_shopping-cart-v2.css">
4
+ <link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
5
+ {{/content}}
6
+ {{#content "heading"}}
7
+ <div class="notification-area pr-0 pl-0">
8
+ {{> notifications notification-page.warning-tiles-changed withCloseBtn="true"}}
9
+ </div>
10
+ <div class="checkout-header__promo">
11
+ {{#each shopping-cart-v2.potentialOrderPromotions}}
12
+ {{> potential-promotion}}
13
+ {{/each}}
14
+ </div>
15
+ {{> checkout-header shopping-cart-v2.header}}
16
+ {{/content}}
17
+ {{#content "aside"}}
18
+ {{> order-summary
19
+ shopping-cart-v2.checkout
20
+ id=1
21
+ title="Order Summary"
22
+ basket=true
23
+ clearPayIcon=clearPayIcon
24
+ billie-placement=true
25
+ clearpay-placement=true
26
+ klarna-placement=false
27
+ billieIcon=true
28
+ paymentsCheckoutV2=true
29
+ }}
30
+ {{> checkout-action mod="mounted"}}
31
+ {{> summary-payment paymentsCheckoutV2="true" billieIcon=true}}
32
+ {{> checkout-action mod="large"}}
33
+ {{/content}}
34
+ {{#content "main"}}
35
+ <input type="hidden" id="SUPPLIER_DELIVERED_7_DAYS" value="<b> Wickes Supplier </b> - Delivery within 7 days">
36
+ <input type="hidden" id="STANDARD" value="<b> STANDARD </b> - Delivery within 1 day">
37
+ <input type="hidden" id="canDisplayPayPalOnBasketPage" value="true">
38
+ {{#each shopping-cart-v2.sections }}
39
+ <section class="basket__section" data-type="{{type}}">
40
+ {{> checkout-section-title title=type items-count=items-count}}
41
+ {{#each items}}
42
+ {{> order-item}}
43
+ {{/each}}
44
+ </section>
45
+ {{/each}}
46
+ {{> charity-donations-multiple shopping-cart-v2.charityDonationMultiple}}
47
+ {{> checkout-action}}
48
+ {{/content}}
49
+ {{#content "foot" mode="append"}}
50
+ <script defer src="./js/basket.min.js"></script>
51
+ <script defer src="./js/page/components/modal-observer.js"></script>
52
+ {{> billie-modal }}
53
+ {{/content}}
54
+ {{/extend}}
@@ -0,0 +1,339 @@
1
+ {{#extend "checkout-new" pageClass="page_checkout page_checkout-confirmation-new" title="Checkout - Confirmation"
2
+ logout=true}}
3
+ {{#content "steps"}}
4
+ <div class="header-wrap">
5
+ <h1 class="header__title">Order Confirmation</h1>
6
+ <p class="header__order-block">Order number: <span class="header__order-number">143402004</span></p>
7
+ </div>
8
+ {{/content}}
9
+ {{#content "main"}}
10
+
11
+ <div class="confirmation-result-wrap">
12
+ <div class="confirmation-result__notif">
13
+ <span class="notif-check"><i class="fas fa-check"></i></span>
14
+ <span class="notif-info">Your Order Was Successful!</span>
15
+ </div>
16
+
17
+ <p class="confirmation-result__info">
18
+ We have emailed your order confirmation to <a href="mailto:petra.mendez@gmail.com">petra.mendez@gmail.com</a> with details of when your order will be delivered. This email will also contain our contact details should you wish to get in touch with us.
19
+ </p>
20
+
21
+ <div class="confirmation-result__action">
22
+ <a href="https://www.wickes.co.uk/track-my-order" class="btn btn-primary"><i class="fas fa-map-marked-alt"></i> Track My Order</a>
23
+ <a href="https://www.wickes.co.uk/my-account/orders" class="btn btn-primary">View My Order</a>
24
+ <a href="./" class="btn btn-secondary">Return Shopping</a>
25
+ </div>
26
+ </div>
27
+
28
+ {{#with checkoutOrder.delivery.[0]}}
29
+ {{>checkout-order}}
30
+ {{/with}}
31
+
32
+
33
+ {{#with checkoutOrder.clickCollect.[0]}}
34
+ {{>checkout-order}}
35
+ {{/with}}
36
+
37
+
38
+ {{#with checkoutOrder.charity.[0]}}
39
+ {{>checkout-order charity="true"}}
40
+ {{/with}}
41
+
42
+
43
+ {{> checkout_payment-new billie=true}}
44
+ {{> checkout_order-summary-new label="Subtotal:" confirmationSummary="true"}}
45
+
46
+ <form class="checkout-tradepro form-bg">
47
+ <div class="checkout-tradepro__row">
48
+ <div class="checkout-tradepro__descr">
49
+ <div class="checkout-tradepro__info-wrap">
50
+ <div class="checkout-tradepro__info">
51
+ It looks like you're in the Trade?
52
+ You could be eligible to join TradePro and get
53
+ <strong>10% off future purchases whenever you shop in-store or online.</strong>
54
+ </div>
55
+ <a href="#" class="checkout-tradepro__learn-more">Learn more about TradePro</a>
56
+ </div>
57
+ <h3>TradePro Signup</h3>
58
+ <div class="warning-required">Required fields</div>
59
+ <h3 class="checkout-tradepro__title">Proof of Trade ID</h3>
60
+ <p class="checkout-tradepro__paragraph warning-required">
61
+ Please supply two forms of approved ID
62
+ </p>
63
+
64
+ <div class="signup-tradepro__attach checkout-tradepro__attach_id">
65
+ {{> attach-make make-attachment=true}}
66
+ {{> modal id="attac"}}
67
+ {{#extend "modal" id="attach" title="Choose Type of ID" fullWidth=true classMod="id-type"}}
68
+ {{#content "sections"}}
69
+
70
+ {{#extend "modal-body-section" customSectionClass="id-type-signup"}}
71
+ {{#content "body"}}
72
+ {{> notifications notification-page.warning withCloseBtn="true"
73
+ text="Unable to attach file. Only JPG, PNG, GIF, BMP, WEBP, TIFF and HEIF image files are supported."}}
74
+ <div class="signup-tradepro__modal-info">
75
+ Select two forms of ID.
76
+ <div class="tradepro-id-counter_wrap">
77
+ <span>1</span>
78
+ of
79
+ <span>2</span>
80
+ </div>
81
+ ID's chosen
82
+ </div>
83
+ <div class="signup-tradepro__modal-fields">
84
+ <div class="tradepro-field">
85
+ <span class="icon icon__link inactive-el">
86
+ <i class="far fa-link"></i>
87
+ </span>
88
+ <a href="#" class="signup-tradepro__modal-trigger inactive-el">Trade business website</a>
89
+ <div class="signup-tradepro__modal-action">
90
+ <div class="form-row" data-row-required="">
91
+ <label class="form-row__label"></label>
92
+ <div class="form-row__field">
93
+ {{> input need-pattern=true}}
94
+ <div class="form-row__error">{{error}}</div>
95
+ </div>
96
+ </div>
97
+ <div class="signup-tradepro__modal-buttons">
98
+ <div class="row">
99
+ <div class="button-done">
100
+ <button class="btn btn-primary">
101
+ Done
102
+ </button>
103
+ </div>
104
+ <div class="button-cancel">
105
+ <button class="btn btn-secondary">
106
+ Cancel
107
+ </button>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ <div class="tradepro-field">
114
+ <span class="icon icon__link">
115
+ <i class="far fa-link"></i>
116
+ </span>
117
+ <span class="icon icon__pencil">
118
+ <i class="far fa-pencil"></i>
119
+ </span>
120
+ <a href="#" class="signup-tradepro__modal-trigger">Check a trade profile</a>
121
+ <div class="signup-tradepro__modal-action">
122
+ <div class="form-row" data-row-required="">
123
+ <label class="form-row__label"></label>
124
+ <div class="form-row__field">
125
+ {{> input need-pattern=true}}
126
+ <div class="form-row__error">{{error}}</div>
127
+ </div>
128
+ </div>
129
+ <div class="signup-tradepro__modal-buttons">
130
+ <div class="row">
131
+ <div class="button-done">
132
+ <button class="btn btn-primary">
133
+ Done
134
+ </button>
135
+ </div>
136
+ <div class="button-cancel">
137
+ <button class="btn btn-secondary">
138
+ Cancel
139
+ </button>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ <div class="tradepro-field">
146
+ <span class="icon icon__link">
147
+ <i class="far fa-link"></i>
148
+ </span>
149
+ <a href="#" class="signup-tradepro__modal-trigger">Facebook trade business page</a>
150
+ <span class="icon icon__notification">
151
+ <span class="fas fa-check-circle"></span>
152
+ </span>
153
+ <div class="signup-tradepro__modal-action">
154
+ <div class="form-row" data-row-required="">
155
+ <label class="form-row__label"></label>
156
+ <div class="form-row__field">
157
+ {{> input need-pattern=true}}
158
+ <div class="form-row__error">{{error}}</div>
159
+ </div>
160
+ </div>
161
+ <div class="signup-tradepro__modal-buttons">
162
+ <div class="row">
163
+ <div class="button-done">
164
+ <button class="btn btn-primary">
165
+ Done
166
+ </button>
167
+ </div>
168
+ <div class="button-cancel">
169
+ <button class="btn btn-secondary">
170
+ Cancel
171
+ </button>
172
+ </div>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ <div class="tradepro-field">
178
+ <span class="icon icon__link">
179
+ <i class="far fa-link"></i>
180
+ </span>
181
+ <a href="#" class="signup-tradepro__modal-trigger">Mybuilder profile</a>
182
+ <div class="signup-tradepro__modal-action">
183
+ <div class="form-row" data-row-required="">
184
+ <label class="form-row__label"></label>
185
+ <div class="form-row__field">
186
+ {{> input need-pattern=true}}
187
+ <div class="form-row__error">{{error}}</div>
188
+ </div>
189
+ </div>
190
+ <div class="signup-tradepro__modal-buttons">
191
+ <div class="row">
192
+ <div class="button-done">
193
+ <button class="btn btn-primary">
194
+ Done
195
+ </button>
196
+ </div>
197
+ <div class="button-cancel">
198
+ <button class="btn btn-secondary">
199
+ Cancel
200
+ </button>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ </div>
205
+ </div>
206
+ <div class="tradepro-field">
207
+ <span class="icon icon__paperclip">
208
+ <i class="far fa-paperclip"></i>
209
+ </span>
210
+ {{> attach-make make-capture=true}}
211
+ <input class="tradepro-attachment" type="file" accept="image/*" capture>
212
+ </div>
213
+ <div class="tradepro-field">
214
+ <img src="img/placeholders/thumbnail-sm.png"/>
215
+ <span class="icon icon__paperclip">
216
+ <i class="far fa-paperclip"></i>
217
+ </span>
218
+ <span class="icon icon__camera">
219
+ <i class="far fa-camera"></i>
220
+ </span>
221
+ <a href="#" class="signup-tradepro__modal-trigger">Letterhead</a>
222
+ <input class="tradepro-attachment" type="file" accept="image/*" capture>
223
+ </div>
224
+ <div class="tradepro-field">
225
+ <span class="icon icon__paperclip">
226
+ <i class="far fa-paperclip"></i>
227
+ </span>
228
+ <span class="icon icon__camera">
229
+ <i class="far fa-camera"></i>
230
+ </span>
231
+ <a href="#" class="signup-tradepro__modal-trigger">Compliment slip</a>
232
+ <input class="tradepro-attachment" type="file" accept="image/*" capture>
233
+ </div>
234
+ <div class="tradepro-field">
235
+ <span class="icon icon__edit">
236
+ <i class="fas fa-edit"></i>
237
+ </span>
238
+ <a href="#" class="signup-tradepro__modal-trigger">Ltd company: Registration number</a>
239
+ <div class="signup-tradepro__modal-action">
240
+ <div class="form-row" data-row-required="">
241
+ <label class="form-row__label"></label>
242
+ <div class="form-row__field">
243
+ {{> input need-pattern=true}}
244
+ <div class="form-row__error">{{error}}</div>
245
+ </div>
246
+ </div>
247
+ <div class="signup-tradepro__modal-buttons">
248
+ <div class="row">
249
+ <div class="button-done">
250
+ <button class="btn btn-primary">
251
+ Done
252
+ </button>
253
+ </div>
254
+ <div class="button-cancel">
255
+ <button class="btn btn-secondary">
256
+ Cancel
257
+ </button>
258
+ </div>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ <div class="tradepro-field">
264
+ <span class="icon icon__edit">
265
+ <i class="fas fa-edit"></i>
266
+ </span>
267
+ <a href="#" class="signup-tradepro__modal-trigger">Plc: Registration number</a>
268
+ <div class="signup-tradepro__modal-action">
269
+ <div class="form-row" data-row-required="">
270
+ <label class="form-row__label"></label>
271
+ <div class="form-row__field">
272
+ {{> input need-pattern=true}}
273
+ <div class="form-row__error">{{error}}</div>
274
+ </div>
275
+ </div>
276
+ <div class="signup-tradepro__modal-buttons">
277
+ <div class="row">
278
+ <div class="button-done">
279
+ <button class="btn btn-primary">
280
+ Done
281
+ </button>
282
+ </div>
283
+ <div class="button-cancel">
284
+ <button class="btn btn-secondary">
285
+ Cancel
286
+ </button>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ {{/content}}
294
+ {{/extend}}
295
+
296
+ {{/content}}
297
+ {{/extend}}
298
+ </div>
299
+ <div class="chosen-form-container">
300
+ <div class="chosen-form-wrap">
301
+ <div class="chosen-form">
302
+ <div>
303
+ <img class="mr-2" src="img/placeholders/thumbnail-sm.png"/>
304
+ Trade business website
305
+ </div>
306
+ <span class="icon icon__notification">
307
+ <span class="fas fa-check-circle"></span>
308
+ </span>
309
+ </div>
310
+ <div class="form-row__error">Error message here</div>
311
+ <div class="chosen-form">
312
+ <div>
313
+ <img class="mr-2" src="img/placeholders/thumbnail-sm.png"/>
314
+ Ltd company: Registration number
315
+ </div>
316
+
317
+ <span class="icon icon__notification">
318
+ <span class="fas fa-check-circle"></span>
319
+ </span>
320
+ </div>
321
+ <div class="form-row__error">Error message here</div>
322
+ </div>
323
+ </div>
324
+ {{> signup-form}}
325
+ </div>
326
+ </div>
327
+ </form>
328
+
329
+ {{/content}}
330
+
331
+ {{#content "aside"}}
332
+ {{> checkout_information info-icon="true"}}
333
+ {{/content}}
334
+
335
+ {{#content "foot" mode="append"}}
336
+ <script defer src="./js/page/checkout-confirmation-new.js"></script>
337
+ {{/content}}
338
+
339
+ {{/extend}}
@@ -1,4 +1,4 @@
1
- {{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout page_checkout-confirmation-new" title="Checkout - Delivery address Customer Journey" isAsideSticky="true"}}
1
+ {{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout page_checkout-confirmation-new" title="Checkout - Delivery address Customer Journey" isAsideSticky="true" billieIcon=true}}
2
2
  {{#content "steps"}}
3
3
  {{> steps active-step-index="1" }}
4
4
  {{/content}}
@@ -9,7 +9,7 @@
9
9
  {{/content}}
10
10
 
11
11
  {{#content "aside"}}
12
- {{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
12
+ {{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true billieIcon=true}}
13
13
  {{/content}}
14
14
 
15
15
 
@@ -35,6 +35,7 @@
35
35
  title=my_account.diy.activeOrders.sectionTitle
36
36
  linkText='View all orders'
37
37
  orders=my_account.diy.activeOrders.orderList
38
+ billieText="Payment due 30 days from Dispatch or Collection Date"
38
39
  }}
39
40
  </div>
40
41
  </div>
@@ -61,7 +61,7 @@
61
61
  <div class="col-12 col-lg-3">
62
62
  <div class="wismo">
63
63
  {{> my-account/wismo_order-summary my_order.wismo-order-summary }}
64
- {{> wismo-payment }}
64
+ {{> wismo-payment payment-billie=true}}
65
65
  </div>
66
66
  </div>
67
67
  </div>
@@ -0,0 +1,67 @@
1
+ {{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Payment details with Billie" isAsideSticky="true" clearPayIcon=true billieIcon=true}}
2
+
3
+ {{#content "head" mode="append"}}
4
+ <link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
5
+ <link type="text/css" rel="stylesheet" href="./css/pages/page_checkout_delivery-new.css">
6
+ <link type="text/css" rel="stylesheet" href="./css/components/payment-details-BPS-form.css">
7
+ <link type="text/css" rel="stylesheet" href="./css/components/checkout-payment-details-v2.css">
8
+
9
+ <script src="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js"></script>
10
+ {{/content}}
11
+ {{#content "notification"}}
12
+ {{> notifications notification-page.error text="Sorry, there are errors on this page. Please review the information you've entered and update sections marked in red."}}
13
+ {{/content}}
14
+ {{#content "steps"}}
15
+ {{> steps-three-steps active-step-index="2"}}
16
+ {{/content}}
17
+
18
+ {{#content "aside"}}
19
+ {{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true}}
20
+ {{/content}}
21
+
22
+
23
+ {{#content "main"}}
24
+ <div class="delivery-block">
25
+ <h3 class="delivery-block__heading">Delivery Information</h3>
26
+ <div class="delivery-block__wrapper">
27
+ {{#with checkoutOrder.deliveryPayments.[0]}}
28
+ <div class="checkout-order">
29
+ {{> checkout-order-block}}
30
+ </div>
31
+ {{/with}}
32
+ </div>
33
+ </div>
34
+
35
+ <div class="click-collect-block">
36
+ <h3 class="click-collect-block__heading">Click & Collect</h3>
37
+ <div class="click-collect-block__wrapper">
38
+ {{#with checkoutOrder.clickCollectDeliveryAddress.[0]}}
39
+ <div class="checkout-order">
40
+ {{> checkout-order-block}}
41
+ </div>
42
+ {{/with}}
43
+ </div>
44
+ </div>
45
+
46
+ <div class="billing-payment-block">
47
+ <h3 class="billing-payment-block__heading">Billing & Payment</h3>
48
+ <div class="billing-payment-block__wrapper">
49
+ {{> checkout-payment-details-v2 apple-pay=true google-pay=true clear-pay=true billie=true edit-bill-mod=true billie-form=true open-delivery-block=true}}
50
+ </div>
51
+ </div>
52
+
53
+ {{/content}}
54
+
55
+ {{#content "foot" mode="append"}}
56
+ <script
57
+ async
58
+ src="https://pay.google.com/gp/p/js/pay.js">
59
+ </script>
60
+ <script defer src="./js/page/checkout-confirmation-new.js"></script>
61
+ <script defer src="./js/page/checkout-payment-details.js"></script>
62
+ <script defer src="./js/page/klarna-modal-scroll-disable.js"></script>
63
+ <script defer src="./js/page/billie-business-type.js"></script>
64
+ {{> checkout-terms-and-conditions-modal }}
65
+ {{> payment-loader hidden=true spinnerTypes=(array "billie-logo" "clearpay-logo" "paypal-logo")}}
66
+ {{/content}}
67
+ {{/extend}}
@@ -0,0 +1,87 @@
1
+ {{#extend "base" pageClass="page-product-details" title="Product details page new with Billie"
2
+ isDiscount=true
3
+ isSQM=true
4
+ isDescription=true
5
+ isCashback=false
6
+ isSize=true
7
+ hourly-delivery=true
8
+ badge-text='15% off'
9
+ badge-color='yellow'
10
+ badge-text-color='gray'
11
+ step3=true
12
+ currentlyInStock=true
13
+ pagePdp=true
14
+ }}
15
+ {{#content "body"}}
16
+
17
+
18
+ <main class="pdp__main">
19
+ <div class="container">
20
+ <div class="pdp">
21
+ <div class="pdp__title">
22
+ <h1 class="pdp__heading">Bosch PSB 1800 LI-2 18V Li-Ion Cordless Combi Drill Example with long
23
+ title in two rows
24
+ </h1>
25
+ <div class="pdp__reviews_small">
26
+ <span class="product-code product-code-v2">Product code: <strong id="product-code-val">236334</strong></span>
27
+ <div class="product-card__reviews review-star">
28
+ <div class="product-rating product-rating-v2">
29
+ <div class="rating-bg">
30
+ <i class="fa fa-star" aria-hidden="true"></i>
31
+ <i class="fa fa-star" aria-hidden="true"></i>
32
+ <i class="fa fa-star" aria-hidden="true"></i>
33
+ <i class="fa fa-star" aria-hidden="true"></i>
34
+ <i class="fa fa-star" aria-hidden="true"></i>
35
+ <div class="rating-overlay"
36
+ data-rating="{{#if review-rating}}{{review-rating}}{{else}}0{{/if}}">
37
+ <i class="fa fa-star" aria-hidden="true"></i>
38
+ <i class="fa fa-star" aria-hidden="true"></i>
39
+ <i class="fa fa-star" aria-hidden="true"></i>
40
+ <i class="fa fa-star" aria-hidden="true"></i>
41
+ <i class="fa fa-star" aria-hidden="true"></i>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <span class="review-star-average review-star-average-v2">(4.6)</span>
46
+ </div>
47
+ <span class="pdp__reviews-link-wrap"><a href="#" data-link="#pdp-reviews" id="open-review">82 reviews</a></span>
48
+ </div>
49
+ </div>
50
+
51
+ <div class="pdp__gallery">
52
+ {{> gallery-pdp-v2 }}
53
+ </div>
54
+ <div class="pdp__aside">
55
+ {{> price-block-v2
56
+ isProductSaved=false
57
+ isUserLogedOut=true
58
+ install=true
59
+ sample=true
60
+ big-wins=true
61
+ stock-accordion="stock-accordion"
62
+ cc=false
63
+ nearestAmount=12
64
+ isUserNonRegistered=true
65
+ delivery=true
66
+ nearest-purchase=true
67
+ clearpay-placement=true
68
+ billie-placement=true
69
+ }}
70
+ {{> fulfilment-accordions }}
71
+ </div>
72
+ <div class="pdp__description">
73
+ {{> product-main-info-v2 isAdvice=true}}
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </main>
78
+ {{/content}}
79
+ {{#content "foot" mode="append"}}
80
+ <script type="text/html" id="mini-basket-popup">
81
+ {{> popover-mini-basket mod="popover-mini-basket_just-added" products=mini-basket.just-added just-added=true}}
82
+ </script>
83
+ <script defer src="./js/page/pdp.js"></script>
84
+ <script defer src="./js/page/components/modal-observer.js"></script>
85
+ {{> billie-modal }}
86
+ {{/content}}
87
+ {{/extend}}
@@ -1,4 +1,4 @@
1
- {{#extend "basket-new" page_shopping-cart pageClass="page_basket basket" title="Basket"}}
1
+ {{#extend "basket-new" page_shopping-cart pageClass="page_basket basket" title="Basket" billieIcon=true}}
2
2
  {{#content "head" mode="append"}}
3
3
  <link type="text/css" rel="stylesheet" href="./css/pages/page_shopping-cart-v2.css">
4
4
  <link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
@@ -23,10 +23,11 @@
23
23
  id=1
24
24
  title="Order Summary"
25
25
  basket=true
26
+ billie=true
26
27
  }}
27
28
  {{> checkout-action mod="mounted"}}
28
29
  {{> checkout-action mod="mounted" view="mobile"}}
29
- {{> summary-payment paymentsCheckoutV2=true}}
30
+ {{> summary-payment paymentsCheckoutV2=true billieIcon=true}}
30
31
  {{/content}}
31
32
  {{#content "main"}}
32
33
  <input type="hidden" id="SUPPLIER_DELIVERED_7_DAYS" value="<b> Wickes Supplier </b> - Delivery within 7 days">
@@ -40,7 +41,7 @@
40
41
  {{/each}}
41
42
  </section>
42
43
  {{/each}}
43
- {{> charity-donations-multiple shopping-cart-v2.charityDonationMultiple}}
44
+ {{> basket-charity-donations-new shopping-cart-v2.charityDonationNew }}
44
45
  {{/content}}
45
46
  {{#content "foot" mode="append"}}
46
47
  <script defer src="./js/basket.min.js"></script>