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.
- package/Readme.md +4 -3
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/components/loader.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/homepage-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/page_home.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_wismo-details.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/img/billie-logo.svg +4 -0
- package/build/img/billie-modal.svg +4 -0
- package/build/img/billie-pdp.svg +11 -0
- package/build/img/billie-spinner.svg +5 -0
- package/build/img/billie.svg +4 -0
- package/build/img/calm-primary-logo.png +0 -0
- package/build/img/payment/checkout/billie.svg +4 -0
- package/build/img/payment/footer/billie.svg +4 -0
- package/build/js/basket.min.js +1 -1
- package/build/js/emulation.min.js +23 -11
- package/build/js/page/basket-v2.js +16 -7
- package/build/js/page/billie-business-type.js +34 -0
- package/build/js/page/checkout-payment-details.js +8 -0
- package/build/js/page/components/charity.js +58 -43
- package/build/js/page/components/modal-observer.js +51 -0
- package/package.json +1 -1
- package/src/components/address-billie.hbs +42 -0
- package/src/components/address-postcode-look-up.hbs +2 -2
- package/src/components/basket-charity-donations-new.hbs +40 -0
- package/src/components/billie-modal.hbs +41 -0
- package/src/components/billie-online-messaging.hbs +14 -0
- package/src/components/checkout-edit-billing-address.hbs +20 -6
- package/src/components/checkout-payment-details-v2.hbs +94 -55
- package/src/components/checkout-payment-info-block.hbs +49 -0
- package/src/components/checkout-payment-option.hbs +40 -0
- package/src/components/checkout_payment-new.hbs +10 -1
- package/src/components/donation-cart-new.hbs +38 -0
- package/src/components/modal.hbs +4 -1
- package/src/components/my-account/active-orders/list-orders.hbs +1 -1
- package/src/components/my-account/active-orders/order.hbs +2 -0
- package/src/components/my-account/active-orders/payment-status.hbs +17 -0
- package/src/components/my-account/payment-status.hbs +19 -0
- package/src/components/order-summary.hbs +3 -0
- package/src/components/payment-loader.hbs +59 -21
- package/src/components/payments-checkout-v2.hbs +12 -6
- package/src/components/payments-checkout.hbs +6 -0
- package/src/components/payments.hbs +10 -4
- package/src/components/price-block-v2.hbs +13 -8
- package/src/components/wismo-payment.hbs +16 -0
- package/src/data/data_shopping-cart-v2.json +51 -0
- package/src/data/data_wismo.json +53 -0
- package/src/data/my-account/data_my-account.json +57 -0
- package/src/elements/radiobutton.hbs +7 -0
- package/src/img/billie-logo.svg +4 -0
- package/src/img/billie-modal.svg +4 -0
- package/src/img/billie-pdp.svg +11 -0
- package/src/img/billie-spinner.svg +5 -0
- package/src/img/billie.svg +4 -0
- package/src/img/calm-primary-logo.png +0 -0
- package/src/img/payment/checkout/billie.svg +4 -0
- package/src/img/payment/footer/billie.svg +4 -0
- package/src/js/emulation/paymentLoader.js +22 -11
- package/src/js/page/basket-v2.js +16 -7
- package/src/js/page/billie-business-type.js +34 -0
- package/src/js/page/checkout-payment-details.js +8 -0
- package/src/js/page/components/charity.js +58 -43
- package/src/js/page/components/modal-observer.js +51 -0
- package/src/page_basket-billie.html +54 -0
- package/src/page_checkout_confirmation-billie.html +339 -0
- package/src/page_checkout_delivery-address-customer-journey.html +2 -2
- package/src/page_my-account.html +1 -0
- package/src/page_my-order.html +1 -1
- package/src/page_payment-details-with-billie.html +67 -0
- package/src/page_product-details-billie.html +87 -0
- package/src/page_shopping-cart-v2.html +4 -3
- package/src/page_wismo-details.html +2 -2
- package/src/partials/head.hbs +1 -5
- package/src/scss/common/_app.scss +0 -1
- package/src/scss/common/_elements.scss +4 -0
- package/src/scss/components/_billie-modal.scss +181 -0
- package/src/scss/components/_billie-online-messaging.scss +46 -0
- package/src/scss/components/_charity-donations.scss +114 -186
- package/src/scss/components/_donation-cart-new.scss +192 -0
- package/src/scss/components/_payments-checkout.scss +2 -1
- package/src/scss/components/_payments-v2.scss +8 -0
- package/src/scss/components/_tooltip.scss +19 -0
- package/src/scss/components/checkout-payment-details-v2.scss +237 -0
- package/src/scss/components/loader.scss +8 -0
- package/src/scss/components/my-account/_active-orders.scss +2 -0
- package/src/scss/components/my-account/_payment-status.scss +84 -0
- package/src/scss/components/price-block-v2-critical.scss +4 -0
- package/src/scss/components/price-block-v2.scss +4 -0
- package/src/scss/pages/_checkout-confirmation-new.scss +10 -3
- package/src/scss/pages/checkout-new.scss +3 -0
- package/src/scss/pages/my-account-v2.scss +2 -0
- package/src/scss/pages/page_wismo-details.scss +1 -0
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +2 -0
- package/src/sitemap.html +31 -2
- package/src/page_shopping-cart-charity.html +0 -56
|
@@ -4,23 +4,48 @@
|
|
|
4
4
|
<div class="checkout-payment-details__row">
|
|
5
5
|
<div class="checkout-payment-details__descr">
|
|
6
6
|
<h3 class="checkout-payment-details__title">Payment method</h3>
|
|
7
|
-
{{#if
|
|
7
|
+
{{#if billie}}
|
|
8
|
+
<div class="form-row">
|
|
9
|
+
<div class="form-row__field form-row__field-billie">
|
|
10
|
+
<label
|
|
11
|
+
class="rbn rbn_align billie-label__rbn"
|
|
12
|
+
for="checkout-payment-details-billie"
|
|
13
|
+
>
|
|
14
|
+
<input
|
|
15
|
+
type="radio"
|
|
16
|
+
id="checkout-payment-details-billie"
|
|
17
|
+
name="payment-method"
|
|
18
|
+
value="billie"
|
|
19
|
+
>
|
|
20
|
+
<ins></ins>
|
|
21
|
+
<div class="billie-badge-container">
|
|
22
|
+
<img
|
|
23
|
+
src="./img/payment/footer/billie.svg"
|
|
24
|
+
alt="Billie Pay Later"
|
|
25
|
+
>
|
|
26
|
+
</div>
|
|
27
|
+
</label>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
{{else if klarna-method}}
|
|
8
31
|
<div class="form-row">
|
|
9
32
|
<div class="form-row__field form-row__field-klarna">
|
|
10
33
|
<label
|
|
11
|
-
|
|
12
|
-
|
|
34
|
+
class="rbn rbn_align klarna-label__rbn"
|
|
35
|
+
for="checkout-payment-details-klarna"
|
|
36
|
+
>
|
|
13
37
|
<input
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
38
|
+
type="radio"
|
|
39
|
+
id="checkout-payment-details-klarna"
|
|
40
|
+
name="payment-method"
|
|
41
|
+
value="klarna"
|
|
42
|
+
>
|
|
18
43
|
<ins></ins>
|
|
19
44
|
<div class="klarna-logo-img">
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
45
|
+
<klarna-placement
|
|
46
|
+
data-key="sidebar-promotion-auto-size"
|
|
47
|
+
data-locale="en-GB"
|
|
48
|
+
></klarna-placement>
|
|
24
49
|
</div>
|
|
25
50
|
</label>
|
|
26
51
|
</div>
|
|
@@ -133,50 +158,63 @@
|
|
|
133
158
|
</div>
|
|
134
159
|
</div>
|
|
135
160
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
<div class="klarna-logo-img-big">
|
|
141
|
-
<klarna-placement
|
|
142
|
-
data-key="sidebar-promotion-auto-size"
|
|
143
|
-
data-locale="en-GB"
|
|
144
|
-
></klarna-placement>
|
|
145
|
-
</div>
|
|
146
|
-
</div>
|
|
147
|
-
<ul class="klarna-info__list">
|
|
148
|
-
<li class="klarna-info__list_item"><i class="fa fa-check"></i>Pay in 3. Interest-free.</li>
|
|
149
|
-
<li class="klarna-info__list_item"><i class="fa fa-check"></i>Pay now or Pay in 30 days.</li>
|
|
150
|
-
<li class="klarna-info__list_item"><i class="fa fa-check"></i>Buyer protection included.</li>
|
|
151
|
-
</ul>
|
|
152
|
-
<div class="klarna-info__learn-more">
|
|
153
|
-
<img class="klarna-info__learn-more_icon" src="img/icon_info.png" width="20" height="20" alt="info">
|
|
154
|
-
<klarna-placement
|
|
155
|
-
data-key="top-strip-promotion-auto-size"
|
|
156
|
-
data-locale="en-GB"
|
|
157
|
-
></klarna-placement>
|
|
158
|
-
</div>
|
|
159
|
-
<div class="klarna-info__accept-info">
|
|
160
|
-
By continuing, I accept the terms of the <a href="#" class="klarna-info__link">Klarna Shopping Service</a> and confirm that I have read the <a href="#" class="klarna-info__link">Privacy Notice</a> and <a href="#" class="klarna-info__link">Cookie Notice</a>
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
161
|
+
{{> checkout-payment-info-block
|
|
162
|
+
dataAttr="data-klarna"
|
|
163
|
+
blockClass="checkout-payment-details__klarna"
|
|
164
|
+
infoClass="klarna-info"
|
|
163
165
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
166
|
+
heading="Choose your way to pay"
|
|
167
|
+
brandLogoHtml="<klarna-placement
|
|
168
|
+
data-key='sidebar-promotion-auto-size'
|
|
169
|
+
data-locale='en-GB'
|
|
170
|
+
></klarna-placement>"
|
|
171
|
+
|
|
172
|
+
listItem1="Pay in 3. Interest-free."
|
|
173
|
+
listItem2="Pay now or Pay in 30 days."
|
|
174
|
+
listItem3="Buyer protection included"
|
|
175
|
+
|
|
176
|
+
learnMoreHtml="<img class='klarna-info__learn-more_icon' src='img/icon_info.png' width='20' height='20' alt='info'>
|
|
177
|
+
<klarna-placement
|
|
178
|
+
data-key='top-strip-promotion-auto-size'
|
|
179
|
+
data-locale='en-GB'
|
|
180
|
+
></klarna-placement>"
|
|
181
|
+
|
|
182
|
+
acceptInfo="By continuing, I accept the terms of the
|
|
183
|
+
<a href='#' class='klarna-info__link'>Klarna Shopping Service</a>
|
|
184
|
+
and confirm that I have read the
|
|
185
|
+
<a href='#' class='klarna-info__link'>Privacy Notice</a> and
|
|
186
|
+
<a href='#' class='klarna-info__link'>Cookie Notice</a>"
|
|
187
|
+
|
|
188
|
+
ctaButtonLabel="Pay with Klarna"
|
|
189
|
+
ctaButtonClass="klarna__button"
|
|
190
|
+
ctaFooterHtml="By placing your order, you accept our
|
|
191
|
+
<a href='#' class='link-secondary' data-toggle='modal' data-target='#modal-terms-and-conditions'>
|
|
192
|
+
Terms & Conditions of Sale
|
|
193
|
+
</a>"
|
|
194
|
+
}}
|
|
195
|
+
|
|
196
|
+
{{> checkout-payment-info-block
|
|
197
|
+
dataAttr="data-billie"
|
|
198
|
+
blockClass="checkout-payment-details__billie"
|
|
199
|
+
infoClass="billie-info"
|
|
200
|
+
|
|
201
|
+
heading="Get first. Pay later <br> Pay 30 days after shipment"
|
|
202
|
+
brandLogoHtml="<img
|
|
203
|
+
src='https://static.billie.io/badges/Billie_Checkout_Default.svg'
|
|
204
|
+
alt='Billie Pay Later'
|
|
205
|
+
width='70'
|
|
206
|
+
height='35'>"
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
listItem1="Billie charges no fee"
|
|
210
|
+
listItem2="No sign up required"
|
|
211
|
+
listItem3="Europes go-to B2B payment service"
|
|
212
|
+
|
|
213
|
+
acceptInfo="By continuing, I accept the
|
|
214
|
+
<a href='#' class='billie-info__link'>Merchant T&Cs of Billie x Klarna Services</a>,
|
|
215
|
+
and confirm that I have read the
|
|
216
|
+
<a href='#' class='billie-info__link'>Billie and Billie Partner Privacy Policies. Imprint</a>"
|
|
217
|
+
}}
|
|
180
218
|
|
|
181
219
|
<div data-clearpay class="checkout-payment-details__clearpay" style="display: none;">
|
|
182
220
|
<div class="clearpay-widget">
|
|
@@ -184,8 +222,9 @@
|
|
|
184
222
|
</div>
|
|
185
223
|
</div>
|
|
186
224
|
|
|
225
|
+
|
|
187
226
|
<div class="billing-address">
|
|
188
|
-
{{> checkout-edit-billing-address actionBlock="true" no-set-card="true"}}
|
|
227
|
+
{{> checkout-edit-billing-address actionBlock="true" no-set-card="true" billie-form=billie-form}}
|
|
189
228
|
</div>
|
|
190
229
|
<div data-existing-card class="form-row form-row__action form-row__action_custom checkout-payment-details__place-order paypal__row">
|
|
191
230
|
<div class="form-row__col-btn" data-paypal style="display: none;">
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<div {{#if dataAttr}}{{dataAttr}}{{/if}} class="{{blockClass}}" style="display: none;">
|
|
2
|
+
<div class="{{infoClass}}">
|
|
3
|
+
<div class="{{infoClass}}__header">
|
|
4
|
+
<h4 class="{{infoClass}}__header_title">{{{heading}}}</h4>
|
|
5
|
+
<div class="{{infoClass}}__logo-img-big">
|
|
6
|
+
{{{brandLogoHtml}}}
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
|
|
10
|
+
<ul class="{{infoClass}}__list">
|
|
11
|
+
<li class="{{infoClass}}__list_item">
|
|
12
|
+
<i class="fa fa-check"></i>{{listItem1}}
|
|
13
|
+
</li>
|
|
14
|
+
|
|
15
|
+
<li class="{{infoClass}}__list_item">
|
|
16
|
+
<i class="fa fa-check"></i>{{listItem2}}
|
|
17
|
+
</li>
|
|
18
|
+
|
|
19
|
+
<li class="{{infoClass}}__list_item">
|
|
20
|
+
<i class="fa fa-check"></i>{{listItem3}}
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
23
|
+
|
|
24
|
+
{{#if learnMoreHtml}}
|
|
25
|
+
<div class="{{infoClass}}__learn-more">
|
|
26
|
+
{{{learnMoreHtml}}}
|
|
27
|
+
</div>
|
|
28
|
+
{{/if}}
|
|
29
|
+
|
|
30
|
+
<div class="{{infoClass}}__accept-info">
|
|
31
|
+
{{{acceptInfo}}}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
{{#if ctaButtonClass}}
|
|
36
|
+
<div class="form-row form-row__action form-row__action_custom">
|
|
37
|
+
<div class="form-row__col-btn">
|
|
38
|
+
<button class="btn btn-primary btn_full {{ctaButtonClass}}">
|
|
39
|
+
<span class="btn__text">{{ctaButtonLabel}}</span>
|
|
40
|
+
</button>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="form-row__col-terms">
|
|
43
|
+
<p>
|
|
44
|
+
{{{ctaFooterHtml}}}
|
|
45
|
+
</p>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
{{/if}}
|
|
49
|
+
</div>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<div {{#if dataAttr}}{{dataAttr}}{{/if}} class="{{blockClass}}" style="display: none;">
|
|
2
|
+
<div class="payment-info">
|
|
3
|
+
<div class="payment-info__header">
|
|
4
|
+
<h4 class="payment-info__header_title">{{{heading}}}</h4>
|
|
5
|
+
<div class="payment-info__logo-img-big">
|
|
6
|
+
<img
|
|
7
|
+
src="{{logoImgSrc}}"
|
|
8
|
+
alt="{{logoImgAlt}}"
|
|
9
|
+
width="70"
|
|
10
|
+
height="35"
|
|
11
|
+
>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<ul class="payment-info__list">
|
|
16
|
+
{{#each infoList}}
|
|
17
|
+
<li class="payment-info__list_item">
|
|
18
|
+
<i class="fa fa-check"></i>{{this}}
|
|
19
|
+
</li>
|
|
20
|
+
{{/each}}
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<div class="payment-info__accept-info">
|
|
24
|
+
{{{acceptInfo}}}
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div class="form-row form-row__action form-row__action_custom">
|
|
29
|
+
<div class="form-row__col-btn">
|
|
30
|
+
<button class="btn btn-primary btn_full btn-enter-details">
|
|
31
|
+
<span class="btn__text">{{payButtonText}}</span>
|
|
32
|
+
</button>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="form-row__col-terms">
|
|
35
|
+
<p>
|
|
36
|
+
{{{termsText}}}
|
|
37
|
+
</p>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
@@ -24,6 +24,15 @@
|
|
|
24
24
|
></klarna-placement>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
|
+
{{else if billie}}
|
|
28
|
+
<div class="checkout-widget__details checkout-payment__billie">
|
|
29
|
+
<div class="checkout-widget__details__item">
|
|
30
|
+
<div>Payment method:</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="billie-logo-img">
|
|
33
|
+
<img src="./img/billie-logo.svg" alt="billie">
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
27
36
|
{{else if apple}}
|
|
28
37
|
<div class="checkout-widget__details checkout-payment__apple">
|
|
29
38
|
<div class="checkout-widget__details__item">
|
|
@@ -70,7 +79,7 @@
|
|
|
70
79
|
</ul>
|
|
71
80
|
{{/if}}
|
|
72
81
|
|
|
73
|
-
{{#unless (
|
|
82
|
+
{{#unless (anyOf klarna clearpay billie)}}
|
|
74
83
|
<div class="checkout-widget__details__address">
|
|
75
84
|
<div class="heading">Billing address</div>
|
|
76
85
|
<div class="address">
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<div class="donation-cart-new">
|
|
2
|
+
<div class="donation-cart-new__details">
|
|
3
|
+
<div class="donation-cart-new__options">
|
|
4
|
+
<p class="donation-cart-new__description">
|
|
5
|
+
Select the amount you would like to donate:
|
|
6
|
+
</p>
|
|
7
|
+
<div class="donation-cart-new__holder">
|
|
8
|
+
{{#each options}}
|
|
9
|
+
<button
|
|
10
|
+
class="btn
|
|
11
|
+
{{#if active}}btn-selected {{else}} btn-secondary{{/if}}
|
|
12
|
+
donation-cart-new__btn"
|
|
13
|
+
data-value="{{value}}"
|
|
14
|
+
>
|
|
15
|
+
<span class="btn__text">{{title}}</span>
|
|
16
|
+
</button>
|
|
17
|
+
{{/each}}
|
|
18
|
+
</div>
|
|
19
|
+
<div class="donation-cart-new__cost donation-cart-new__cost-hide">
|
|
20
|
+
<div class="donation-cart-new__price">
|
|
21
|
+
<span class="donation-cart-new__currency">£</span>
|
|
22
|
+
<span class="donation-cart-new__value"></span>
|
|
23
|
+
donation has been added to your basket.
|
|
24
|
+
</div>
|
|
25
|
+
<button class="btn order-item__remove" data-action="remove">
|
|
26
|
+
<span class="btn__text">
|
|
27
|
+
<i class="fas fa-trash"></i>
|
|
28
|
+
</span>
|
|
29
|
+
</button>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<hr class="donation-cart-new__divider" />
|
|
33
|
+
<p class="donation-cart-new__charity-info">
|
|
34
|
+
Charity Reg No: 1110621 & Scot SC044347
|
|
35
|
+
</p>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
package/src/components/modal.hbs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Bootstrap 4 modal dialog markup https://getbootstrap.com/docs/4.1/components/modal/ -->
|
|
2
2
|
|
|
3
|
-
<div class="modal
|
|
3
|
+
<div class="modal modal-box {{#if fullWidth}}modal-box_full{{/if}} {{#if wide}}modal-box_wide{{/if}}{{classMod}}"
|
|
4
4
|
id="{{id}}" role="dialog" tabindex="-1" data-backdrop="{{backdrop}}" data-keyboard={{#if keyboard}}{{keyboard}}{{else}}false{{/if}}
|
|
5
5
|
>
|
|
6
6
|
<div class="modal-dialog modal-box__container {{#if centered}}modal-dialog-centered{{/if}}" role="document">
|
|
@@ -38,6 +38,9 @@
|
|
|
38
38
|
{{/block}}
|
|
39
39
|
|
|
40
40
|
</div>
|
|
41
|
+
<div class="modal-footer modal-box__footer">
|
|
42
|
+
{{#block "footer"}}{{/block}}
|
|
43
|
+
</div>
|
|
41
44
|
</div>
|
|
42
45
|
</div>
|
|
43
46
|
</div>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="payment-status payment-status--{{paymentStatus.status}}">
|
|
2
|
+
<span class="payment-status__logo">
|
|
3
|
+
<img class="payments-status__image" src="./img/billie.svg" alt="Billie">
|
|
4
|
+
</span>
|
|
5
|
+
<div class="payment-status__content">
|
|
6
|
+
{{#if paymentStatus.paymentTitle}}
|
|
7
|
+
<div class="payment-status__title">
|
|
8
|
+
<span>{{paymentStatus.paymentTitle}}</span>
|
|
9
|
+
</div>
|
|
10
|
+
{{/if}}
|
|
11
|
+
{{#if paymentStatus.paymentText}}
|
|
12
|
+
<div class="payment-status__text">
|
|
13
|
+
<span>{{paymentStatus.paymentText}}</span>
|
|
14
|
+
</div>
|
|
15
|
+
{{/if}}
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{{#if paymentStatus}}
|
|
2
|
+
<div class="payment-status payment-status--{{paymentStatus.status}}">
|
|
3
|
+
<span class="payment-status__logo">
|
|
4
|
+
<img class="payments-status__image" src="./img/billie.svg" alt="Billie">
|
|
5
|
+
</span>
|
|
6
|
+
<div class="payment-status__content">
|
|
7
|
+
{{#if paymentStatus.paymentTitle}}
|
|
8
|
+
<span class="payment-status__title">
|
|
9
|
+
{{paymentStatus.paymentTitle}}
|
|
10
|
+
</span>
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#if paymentStatus.paymentText}}
|
|
13
|
+
<span class="payment-status__text">
|
|
14
|
+
{{paymentStatus.paymentText}}
|
|
15
|
+
</span>
|
|
16
|
+
{{/if}}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
{{/if}}
|
|
@@ -1,23 +1,61 @@
|
|
|
1
1
|
<div class="payment-loader {{#if hidden}}payment-loader--hidden{{/if}}">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<div class="
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<div class="
|
|
22
|
-
|
|
2
|
+
<div class="payment-loader__modal">
|
|
3
|
+
{{#if spinnerTypes}}
|
|
4
|
+
{{#each spinnerTypes}}
|
|
5
|
+
{{#if (eq this "paypal-logo")}}
|
|
6
|
+
<div class="paypal-checkout-logo">
|
|
7
|
+
<img class="paypal-checkout-logo-pp" alt="pp" src="./img/paypal_logo_loader_pp.svg">
|
|
8
|
+
<img class="paypal-checkout-logo-paypal" alt="paypal" src="./img/paypal_logo_loader_paypal.svg">
|
|
9
|
+
</div>
|
|
10
|
+
{{else if (eq this "klarna-logo")}}
|
|
11
|
+
<div class="klarna-checkout-logo">
|
|
12
|
+
<div class="klarna-spinner-logo"></div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
{{else if (eq this "google-logo")}}
|
|
16
|
+
<div class="google-checkout-logo">
|
|
17
|
+
<div class="google-spinner-logo"></div>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
{{else if (eq this "clearpay-logo")}}
|
|
21
|
+
<div class="clearpay-checkout-logo">
|
|
22
|
+
<div class="clearpay-spinner-logo"></div>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
{{else if (eq this "billie-logo")}}
|
|
26
|
+
<div class="billie-checkout-logo">
|
|
27
|
+
<div class="billie-spinner-logo"></div>
|
|
28
|
+
</div>
|
|
29
|
+
{{/if}}
|
|
30
|
+
{{/each}}
|
|
31
|
+
{{else}}
|
|
32
|
+
{{#if paypal-logo}}
|
|
33
|
+
<div class="paypal-checkout-logo">
|
|
34
|
+
<img class="paypal-checkout-logo-pp" alt="pp" src="./img/paypal_logo_loader_pp.svg">
|
|
35
|
+
<img class="paypal-checkout-logo-paypal" alt="paypal" src="./img/paypal_logo_loader_paypal.svg">
|
|
36
|
+
</div>
|
|
37
|
+
{{/if}}
|
|
38
|
+
{{#if klarna-logo}}
|
|
39
|
+
<div class="klarna-checkout-logo">
|
|
40
|
+
<div class="klarna-spinner-logo"></div>
|
|
41
|
+
</div>
|
|
42
|
+
{{/if}}
|
|
43
|
+
{{#if google-logo}}
|
|
44
|
+
<div class="google-checkout-logo">
|
|
45
|
+
<div class="google-spinner-logo"></div>
|
|
46
|
+
</div>
|
|
47
|
+
{{/if}}
|
|
48
|
+
{{#if clearpay-logo}}
|
|
49
|
+
<div class="clearpay-checkout-logo">
|
|
50
|
+
<div class="clearpay-spinner-logo"></div>
|
|
51
|
+
</div>
|
|
52
|
+
{{/if}}
|
|
53
|
+
{{#if billie-logo}}
|
|
54
|
+
<div class="billie-checkout-logo">
|
|
55
|
+
<div class="billie-spinner-logo"></div>
|
|
56
|
+
</div>
|
|
57
|
+
{{/if}}
|
|
58
|
+
{{/if}}
|
|
59
|
+
<div class="spinner {{#if klarna-logo}}klarna-spinner{{/if}}"></div>
|
|
60
|
+
</div>
|
|
23
61
|
</div>
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
<div class="payments-checkout">
|
|
2
2
|
<p class="payments-checkout__title">Ways to Pay</p>
|
|
3
3
|
<ul class="payments-checkout__list">
|
|
4
|
-
|
|
5
|
-
<
|
|
4
|
+
{{#if billieIcon}}
|
|
5
|
+
<li class="payments-checkout__item">
|
|
6
|
+
<img class="payments-checkout__image" src="./img/payment/footer/billie.svg" alt="Billie">
|
|
7
|
+
</li>
|
|
8
|
+
{{else}}
|
|
9
|
+
<li class="payments-checkout__item">
|
|
10
|
+
<span class="payments-checkout-klarna">
|
|
6
11
|
<klarna-placement
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
data-key="sidebar-promotion-auto-size"
|
|
13
|
+
data-locale="en-GB"
|
|
9
14
|
></klarna-placement>
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
</span>
|
|
16
|
+
</li>
|
|
17
|
+
{{/if}}
|
|
12
18
|
{{#each payments-checkout-list}}
|
|
13
19
|
<li class="payments-checkout__item">
|
|
14
20
|
<img class="payments-checkout__image" src="{{src}}" alt="{{payment}}">
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
<div class="payments-checkout">
|
|
2
2
|
<ul class="payments-checkout__list">
|
|
3
|
+
{{#if billieIcon}}
|
|
4
|
+
<li class="payments-checkout__item">
|
|
5
|
+
<img class="payments-checkout__image" src="./img/payment/checkout/billie.svg" alt="billie">
|
|
6
|
+
</li>
|
|
7
|
+
{{else}}
|
|
3
8
|
<li class="payments-checkout__item">
|
|
4
9
|
<span class="payments-checkout-klarna">
|
|
5
10
|
<klarna-placement
|
|
@@ -8,6 +13,7 @@
|
|
|
8
13
|
></klarna-placement>
|
|
9
14
|
</span>
|
|
10
15
|
</li>
|
|
16
|
+
{{/if}}
|
|
11
17
|
{{#if clearPayIcon}}
|
|
12
18
|
<li class="payments-checkout__item">
|
|
13
19
|
<img class="payments-checkout__image" src="./img/payment/checkout/clearpay.svg" alt="clearpay">
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
<div class="payways">
|
|
2
2
|
<p class="payways__title">Ways to Pay</p>
|
|
3
3
|
<ul class="payways__list">
|
|
4
|
-
|
|
4
|
+
{{#if billieIcon}}
|
|
5
|
+
<li class="payways__item">
|
|
6
|
+
<img class="payways__image" src="./img/payment/footer/billie.svg" alt="Billie">
|
|
7
|
+
</li>
|
|
8
|
+
{{else}}
|
|
9
|
+
<li class="payways__item">
|
|
5
10
|
<span class="payways-klarna">
|
|
6
11
|
<klarna-placement
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
data-key="sidebar-promotion-auto-size"
|
|
13
|
+
data-locale="en-GB"
|
|
9
14
|
></klarna-placement>
|
|
10
15
|
</span>
|
|
11
|
-
|
|
16
|
+
</li>
|
|
17
|
+
{{/if}}
|
|
12
18
|
{{#each payments-list}}
|
|
13
19
|
<li class="payways__item">
|
|
14
20
|
<img class="payways__image" src="{{src}}" alt="{{payment}}">
|
|
@@ -116,16 +116,21 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
{{/if}}
|
|
118
118
|
{{#if klarna-placement}}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
119
|
+
<div class="pdp-price__klarna-payment">
|
|
120
|
+
<klarna-placement
|
|
121
|
+
data-key="credit-promotion-badge"
|
|
122
|
+
data-locale="en-GB"
|
|
123
|
+
data-purchase-amount="12000"
|
|
124
|
+
></klarna-placement>
|
|
125
|
+
</div>
|
|
126
|
+
{{/if}}
|
|
127
|
+
{{#if billie-placement}}
|
|
128
|
+
<div class="pdp-price__billie-payment">
|
|
129
|
+
{{> billie-online-messaging}}
|
|
130
|
+
</div>
|
|
126
131
|
{{/if}}
|
|
127
132
|
{{#if clearpay-placement}}
|
|
128
|
-
|
|
133
|
+
{{> clearpay}}
|
|
129
134
|
{{/if}}
|
|
130
135
|
</div>
|
|
131
136
|
{{#if currentlyInStock}}
|
|
@@ -37,6 +37,22 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
{{/each}}
|
|
40
|
+
{{else if payment-billie}}
|
|
41
|
+
{{#each wismo-order-payment-billie.items}}
|
|
42
|
+
{{#if this.isPaymentStatus}}
|
|
43
|
+
<div class="wrap-item">
|
|
44
|
+
<div class="wrap-item__name">{{{this.name}}}</div>
|
|
45
|
+
<div class="wrap-item__value">
|
|
46
|
+
{{> my-account/payment-status paymentStatus=this.paymentStatus}}
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
{{else}}
|
|
50
|
+
<div class="wrap-item">
|
|
51
|
+
<div class="wrap-item__name">{{{this.name}}}</div>
|
|
52
|
+
<div class="wrap-item__value">{{{this.value}}}</div>
|
|
53
|
+
</div>
|
|
54
|
+
{{/if}}
|
|
55
|
+
{{/each}}
|
|
40
56
|
{{else if payment-clearpay}}
|
|
41
57
|
{{#each wismo-order-payment-clearpay.items}}
|
|
42
58
|
<div class="wrap-item">
|