wickes-css2 2.98.0-billie.4 → 2.98.0-develop.1
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 +1 -1
- 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/emulation.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/my-account-v2.css +1 -1
- package/build/css/pages/page_address-book.css +1 -1
- package/build/css/pages/page_change-password.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_discount.css +1 -0
- package/build/css/pages/page_home.css +1 -1
- package/build/css/pages/page_my-orders.css +1 -1
- package/build/css/pages/page_personal-details.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/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/apps/app-lg.png +0 -0
- package/build/img/apps/app-md.png +0 -0
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/default-store.min.js +1 -1
- package/build/js/emulation.min.js +11 -23
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/my-account.min.js +1 -1
- package/build/js/page/basket-v2.js +1 -2
- package/build/js/page/checkout-payment-details.js +0 -8
- package/build/js/page/default-store.js +1 -4
- package/build/js/page/my-account.js +9 -2
- package/build/js/page/personal-details.js +22 -1
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/personal-details.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/package.json +10 -2
- package/src/components/address-postcode-look-up.hbs +2 -2
- package/src/components/checkout-edit-billing-address.hbs +6 -20
- package/src/components/checkout-payment-details-v2.hbs +55 -94
- package/src/components/checkout_payment-new.hbs +1 -10
- package/src/components/header-menu/logout-action.hbs +8 -0
- package/src/components/header-menu/popover-actions-mob.hbs +11 -0
- package/src/components/header-menu/popover-actions.hbs +13 -0
- package/src/components/header-menu/user-actions-mob.hbs +18 -0
- package/src/components/header-menu/user-actions.hbs +12 -0
- package/src/components/my-account/active-orders/list-orders.hbs +1 -1
- package/src/components/my-account/active-orders/order.hbs +0 -2
- package/src/components/my-account/clipboard-code-card.hbs +13 -6
- package/src/components/my-account/discount.hbs +3 -1
- package/src/components/payment-loader.hbs +21 -59
- package/src/components/payments-checkout-v2.hbs +6 -12
- package/src/components/payments-checkout.hbs +0 -6
- package/src/components/payments.hbs +4 -10
- package/src/components/price-block-order.hbs +0 -1
- package/src/data/data_header-menu.json +153 -0
- package/src/data/my-account/data_discount.json +80 -0
- package/src/data/my-account/data_personal-details.json +22 -0
- package/src/elements/radiobutton.hbs +0 -7
- package/src/img/apps/app-lg.png +0 -0
- package/src/img/apps/app-md.png +0 -0
- package/src/js/components/general/clamp-content.js +1 -0
- package/src/js/components/general/main-nav.js +5 -5
- package/src/js/emulation/paymentLoader.js +11 -22
- package/src/js/page/basket-v2.js +1 -2
- package/src/js/page/checkout-payment-details.js +0 -8
- package/src/js/page/default-store.js +1 -4
- package/src/js/page/my-account.js +9 -2
- package/src/js/page/personal-details.js +22 -1
- package/src/page_checkout_delivery-address-customer-journey.html +2 -2
- package/src/page_my-account-installer.html +2 -1
- package/src/page_my-account-trade-pro.html +1 -0
- package/src/page_my-account.html +10 -2
- package/src/page_personal-details.html +5 -0
- package/src/page_plp_v2-vat.html +8 -2
- package/src/page_shopping-cart-v2.html +2 -3
- package/src/page_tradepro-discount-app.html +82 -0
- package/src/page_tradepro-discount.html +82 -0
- package/src/partials/header.hbs +40 -41
- package/src/partials/main-nav.hbs +51 -171
- package/src/scss/common/_elements.scss +0 -4
- package/src/scss/common/_rewards-counter.scss +1 -1
- package/src/scss/components/_leave-modal.scss +6 -2
- package/src/scss/components/_payments-v2.scss +0 -8
- package/src/scss/components/_price-block-critical.scss +3 -3
- package/src/scss/components/_price-block.scss +8 -3
- package/src/scss/components/checkout-payment-details-v2.scss +0 -237
- package/src/scss/components/loader.scss +0 -8
- package/src/scss/components/my-account/_active-orders.scss +0 -2
- package/src/scss/components/my-account/_barcode.scss +58 -0
- package/src/scss/components/my-account/_clipboard-code.scss +77 -0
- package/src/scss/components/my-account/_discount.scss +51 -0
- package/src/scss/emulation.scss +1 -1
- package/src/scss/helpers/_mixins.scss +9 -0
- package/src/scss/pages/_checkout-confirmation-new.scss +3 -10
- package/src/scss/pages/my-account-v2.scss +38 -172
- package/src/scss/pages/page_change-password.scss +1 -1
- package/src/scss/pages/page_default-store.scss +5 -4
- package/src/scss/pages/page_discount.scss +212 -0
- package/src/scss/pages/page_personal-details.scss +1 -74
- package/src/scss/pages/page_products-list-combined.scss +13 -3
- package/src/scss/pages/page_products-list.scss +9 -1
- package/src/scss/partials/_header-critical.scss +2 -5
- package/src/scss/partials/_header.scss +58 -25
- package/src/scss/partials/_main-nav.scss +43 -29
- package/src/scss/plp-main.scss +1 -0
- package/src/sitemap.html +2 -25
- package/build/img/billie-logo.svg +0 -4
- package/build/img/billie-spinner.svg +0 -5
- package/build/img/billie.svg +0 -4
- package/build/img/payment/checkout/billie.svg +0 -4
- package/build/img/payment/footer/billie.svg +0 -4
- package/build/js/page/billie-business-type.js +0 -34
- package/src/components/address-billie.hbs +0 -42
- package/src/components/checkout-payment-info-block.hbs +0 -49
- package/src/components/checkout-payment-option.hbs +0 -40
- package/src/components/my-account/active-orders/payment-status.hbs +0 -8
- package/src/img/billie-logo.svg +0 -4
- package/src/img/billie-spinner.svg +0 -5
- package/src/img/billie.svg +0 -4
- package/src/img/payment/checkout/billie.svg +0 -4
- package/src/img/payment/footer/billie.svg +0 -4
- package/src/js/page/billie-business-type.js +0 -34
- package/src/page_checkout_confirmation-billie.html +0 -339
- package/src/page_payment-details-with-billie.html +0 -67
- package/src/page_product-details-billie.html +0 -86
- package/src/scss/components/_tooltip.scss +0 -19
- package/src/scss/components/my-account/_payment-status.scss +0 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickes-css2",
|
|
3
|
-
"version": "2.98.0-
|
|
3
|
+
"version": "2.98.0-develop.1",
|
|
4
4
|
"description": "CSS and JS and page templates in use by Wickes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -108,7 +108,15 @@
|
|
|
108
108
|
"branches": [
|
|
109
109
|
"alt-master",
|
|
110
110
|
{
|
|
111
|
-
"name": "
|
|
111
|
+
"name": "develop",
|
|
112
|
+
"prerelease": true
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "preprod",
|
|
116
|
+
"prerelease": true
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "custom-tag/*",
|
|
112
120
|
"prerelease": "${name.replace(/^custom-tag\\//g, '')}"
|
|
113
121
|
}
|
|
114
122
|
],
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
{{> form-row id="first-line-address" label="Type first line of the address" required="true"}}
|
|
4
4
|
</div>
|
|
5
5
|
<div>
|
|
6
|
-
{{> form-row id="address-line-1" label="Address line 1" required="true"
|
|
6
|
+
{{> form-row id="address-line-1" label="Address line 1" required="true"}}
|
|
7
7
|
{{> form-row id="address-line-2" label="Address line 2"}}
|
|
8
|
-
{{> form-row id="town-city" label="Town/City" required="true"}}
|
|
8
|
+
{{> form-row id="town-city" label="Town / City" required="true"}}
|
|
9
9
|
{{> form-row id="postcode_additional" label="Postcode" required="true"}}
|
|
10
10
|
</div>
|
|
11
11
|
{{else}}
|
|
@@ -1,32 +1,18 @@
|
|
|
1
1
|
<div class="checkout-payment-details__row" {{attr}}>
|
|
2
2
|
<div class="checkout-payment-details__descr{{descrModifier}}">
|
|
3
3
|
<h3 class="checkout-payment-details__title">Billing address</h3>
|
|
4
|
-
{{#if billie-form}}
|
|
5
|
-
<div class="checkout-payment-details__populated-address">
|
|
6
|
-
<span>
|
|
7
|
-
<span class="checkout-payment-details__populated-text">Populated from your business address in your TradePro account.</span>
|
|
8
|
-
{{> info-icon title="If the pre-populated address is incorrect, please amend it before proceeding. To update it permanently, review and amend your Business Address in My TradePro (or Installer) Account > Address Book." data-placement="top" }}
|
|
9
|
-
</span>
|
|
10
|
-
</div>
|
|
11
|
-
{{/if}}
|
|
12
4
|
<div class="warning-required">Required fields</div>
|
|
13
|
-
|
|
14
|
-
<div class="form-
|
|
15
|
-
|
|
16
|
-
{{> checkbox id="chb-payment-details-card" label="Use my delivery address"}}
|
|
17
|
-
</div>
|
|
5
|
+
<div class="form-row">
|
|
6
|
+
<div class="form-row__field">
|
|
7
|
+
{{> checkbox id="chb-payment-details-card" label="Use my delivery address" }}
|
|
18
8
|
</div>
|
|
19
|
-
|
|
9
|
+
</div>
|
|
20
10
|
{{#unless edit-bill-mod}}
|
|
21
11
|
{{> form-row id="card-name" label="Name on card" required="true"}}
|
|
22
12
|
{{/unless}}
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
{{#if billie-form}}
|
|
27
|
-
{{> address-billie}}
|
|
28
|
-
{{/if}}
|
|
29
|
-
</div>
|
|
14
|
+
{{> address-postcode-look-up}}
|
|
15
|
+
|
|
30
16
|
|
|
31
17
|
{{#unless no-set-card}}
|
|
32
18
|
<div class="form-row">
|
|
@@ -4,48 +4,23 @@
|
|
|
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
|
|
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}}
|
|
7
|
+
{{#if klarna-method}}
|
|
31
8
|
<div class="form-row">
|
|
32
9
|
<div class="form-row__field form-row__field-klarna">
|
|
33
10
|
<label
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
>
|
|
11
|
+
class="rbn rbn_align klarna-label__rbn"
|
|
12
|
+
for="checkout-payment-details-klarna">
|
|
37
13
|
<input
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
>
|
|
14
|
+
type="radio"
|
|
15
|
+
id="checkout-payment-details-klarna"
|
|
16
|
+
name="payment-method"
|
|
17
|
+
value="klarna">
|
|
43
18
|
<ins></ins>
|
|
44
19
|
<div class="klarna-logo-img">
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
20
|
+
<klarna-placement
|
|
21
|
+
data-key="sidebar-promotion-auto-size"
|
|
22
|
+
data-locale="en-GB"
|
|
23
|
+
></klarna-placement>
|
|
49
24
|
</div>
|
|
50
25
|
</label>
|
|
51
26
|
</div>
|
|
@@ -158,63 +133,50 @@
|
|
|
158
133
|
</div>
|
|
159
134
|
</div>
|
|
160
135
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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"
|
|
136
|
+
<div data-klarna class="checkout-payment-details__klarna" style="display: none;">
|
|
137
|
+
<div class="klarna-info">
|
|
138
|
+
<div class="klarna-info__header">
|
|
139
|
+
<h4 class="klarna-info__header_title">Choose your way to pay</h4>
|
|
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>
|
|
212
163
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
<
|
|
217
|
-
|
|
164
|
+
<div class="form-row form-row__action form-row__action_custom">
|
|
165
|
+
<div class="form-row__col-btn">
|
|
166
|
+
<button class="btn btn-primary btn_full btn-enter-details">
|
|
167
|
+
<span class="btn__text">Pay with Klarna</span>
|
|
168
|
+
</button>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="form-row__col-terms">
|
|
171
|
+
<p>
|
|
172
|
+
By placing your order, you accept our
|
|
173
|
+
<a href="#" class="link-secondary" data-toggle="modal" data-target="#modal-terms-and-conditions">
|
|
174
|
+
Terms & Conditions of Sale
|
|
175
|
+
</a>
|
|
176
|
+
</p>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
218
180
|
|
|
219
181
|
<div data-clearpay class="checkout-payment-details__clearpay" style="display: none;">
|
|
220
182
|
<div class="clearpay-widget">
|
|
@@ -222,9 +184,8 @@
|
|
|
222
184
|
</div>
|
|
223
185
|
</div>
|
|
224
186
|
|
|
225
|
-
|
|
226
187
|
<div class="billing-address">
|
|
227
|
-
{{> checkout-edit-billing-address actionBlock="true" no-set-card="true"
|
|
188
|
+
{{> checkout-edit-billing-address actionBlock="true" no-set-card="true"}}
|
|
228
189
|
</div>
|
|
229
190
|
<div data-existing-card class="form-row form-row__action form-row__action_custom checkout-payment-details__place-order paypal__row">
|
|
230
191
|
<div class="form-row__col-btn" data-paypal style="display: none;">
|
|
@@ -24,15 +24,6 @@
|
|
|
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>
|
|
36
27
|
{{else if apple}}
|
|
37
28
|
<div class="checkout-widget__details checkout-payment__apple">
|
|
38
29
|
<div class="checkout-widget__details__item">
|
|
@@ -79,7 +70,7 @@
|
|
|
79
70
|
</ul>
|
|
80
71
|
{{/if}}
|
|
81
72
|
|
|
82
|
-
{{#unless (
|
|
73
|
+
{{#unless (or klarna clearpay)}}
|
|
83
74
|
<div class="checkout-widget__details__address">
|
|
84
75
|
<div class="heading">Billing address</div>
|
|
85
76
|
<div class="address">
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{{#each items}}
|
|
2
|
+
<div class="main-nav__button">
|
|
3
|
+
<a href="{{url}}" class="nav-button">
|
|
4
|
+
<span class="nav-button__icon"></span>
|
|
5
|
+
<span class="nav-button__text">{{text}}</span>
|
|
6
|
+
{{#if total}}
|
|
7
|
+
<span class="rewards-counter">{{total}}</span>
|
|
8
|
+
{{/if}}
|
|
9
|
+
</a>
|
|
10
|
+
</div>
|
|
11
|
+
{{/each}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<div class="user__popover-actions">
|
|
2
|
+
{{#each items}}
|
|
3
|
+
<a href="{{url}}" class="user__action">
|
|
4
|
+
<span class="icon-wrap">
|
|
5
|
+
<i class="{{iconClass}}"></i>
|
|
6
|
+
</span>
|
|
7
|
+
{{text}}
|
|
8
|
+
{{#if total}}
|
|
9
|
+
<span class="rewards-counter">{{total}}</span>
|
|
10
|
+
{{/if}}
|
|
11
|
+
</a>
|
|
12
|
+
{{/each}}
|
|
13
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{{#each items}}
|
|
2
|
+
<div class="main-nav__button">
|
|
3
|
+
<a href="{{url}}" class="nav-button">
|
|
4
|
+
<span class="nav-button__icon">
|
|
5
|
+
{{#ifCond customIcon '||' iconClass}}
|
|
6
|
+
{{#if icon}}
|
|
7
|
+
{{{icon}}}
|
|
8
|
+
{{else}}
|
|
9
|
+
<i class="{{iconClass}} icon"></i>
|
|
10
|
+
{{/if}}
|
|
11
|
+
{{else}}
|
|
12
|
+
<i class="fas fa-user"></i>
|
|
13
|
+
{{/ifCond}}
|
|
14
|
+
</span>
|
|
15
|
+
<span class="nav-button__text">{{text}}</span>
|
|
16
|
+
</a>
|
|
17
|
+
</div>
|
|
18
|
+
{{/each}}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
<div class="clipboard-code {{
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<div class="clipboard-code {{mod}}">
|
|
2
|
+
<span class="icon-wrap">
|
|
3
|
+
{{#if customIcon}}
|
|
4
|
+
{{{customIcon}}}
|
|
5
|
+
{{else}}
|
|
6
|
+
<i class="{{icon}} icon"></i>
|
|
7
|
+
{{/if}}
|
|
8
|
+
</span>
|
|
7
9
|
<div class="clipboard-code__content">
|
|
8
10
|
<p class="title">{{title}}</p>
|
|
9
11
|
<div class="clipboard-code__cta">
|
|
@@ -13,4 +15,9 @@
|
|
|
13
15
|
</button>
|
|
14
16
|
</div>
|
|
15
17
|
</div>
|
|
18
|
+
{{#if description}}
|
|
19
|
+
<div class="clipboard-code__description">
|
|
20
|
+
<p>{{description.text}} <a class="link" href="{{{description.link}}}">{{description.link}}</a></p>
|
|
21
|
+
</div>
|
|
22
|
+
{{/if}}
|
|
16
23
|
</div>
|
|
@@ -1,61 +1,23 @@
|
|
|
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
|
-
|
|
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>
|
|
2
|
+
<div class="payment-loader__modal">
|
|
3
|
+
{{#if paypal-logo}}
|
|
4
|
+
<div class="paypal-checkout-logo">
|
|
5
|
+
<img class="paypal-checkout-logo-pp" alt="pp" src="./img/paypal_logo_loader_pp.svg">
|
|
6
|
+
<img class="paypal-checkout-logo-paypal" alt="paypal" src="./img/paypal_logo_loader_paypal.svg">
|
|
7
|
+
</div>
|
|
8
|
+
{{else if klarna-logo}}
|
|
9
|
+
<div class="klarna-checkout-logo">
|
|
10
|
+
<div class="klarna-spinner-logo"></div>
|
|
11
|
+
</div>
|
|
12
|
+
{{else if google-logo}}
|
|
13
|
+
<div class="google-checkout-logo">
|
|
14
|
+
<div class="google-spinner-logo"></div>
|
|
15
|
+
</div>
|
|
16
|
+
{{else if clearpay-logo}}
|
|
17
|
+
<div class="clearpay-checkout-logo">
|
|
18
|
+
<div class="clearpay-spinner-logo"></div>
|
|
19
|
+
</div>
|
|
20
|
+
{{/if}}
|
|
21
|
+
<div class="spinner {{#if klarna-logo}}klarna-spinner{{/if}}"></div>
|
|
22
|
+
</div>
|
|
61
23
|
</div>
|
|
@@ -1,20 +1,14 @@
|
|
|
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
|
-
<
|
|
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">
|
|
4
|
+
<li class="payments-checkout__item">
|
|
5
|
+
<span class="payments-checkout-klarna">
|
|
11
6
|
<klarna-placement
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
data-key="sidebar-promotion-auto-size"
|
|
8
|
+
data-locale="en-GB"
|
|
14
9
|
></klarna-placement>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
{{/if}}
|
|
10
|
+
</span>
|
|
11
|
+
</li>
|
|
18
12
|
{{#each payments-checkout-list}}
|
|
19
13
|
<li class="payments-checkout__item">
|
|
20
14
|
<img class="payments-checkout__image" src="{{src}}" alt="{{payment}}">
|
|
@@ -1,10 +1,5 @@
|
|
|
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}}
|
|
8
3
|
<li class="payments-checkout__item">
|
|
9
4
|
<span class="payments-checkout-klarna">
|
|
10
5
|
<klarna-placement
|
|
@@ -13,7 +8,6 @@
|
|
|
13
8
|
></klarna-placement>
|
|
14
9
|
</span>
|
|
15
10
|
</li>
|
|
16
|
-
{{/if}}
|
|
17
11
|
{{#if clearPayIcon}}
|
|
18
12
|
<li class="payments-checkout__item">
|
|
19
13
|
<img class="payments-checkout__image" src="./img/payment/checkout/clearpay.svg" alt="clearpay">
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
<div class="payways">
|
|
2
2
|
<p class="payways__title">Ways to Pay</p>
|
|
3
3
|
<ul class="payways__list">
|
|
4
|
-
|
|
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">
|
|
4
|
+
<li class="payways__item">
|
|
10
5
|
<span class="payways-klarna">
|
|
11
6
|
<klarna-placement
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
data-key="sidebar-promotion-auto-size"
|
|
8
|
+
data-locale="en-GB"
|
|
14
9
|
></klarna-placement>
|
|
15
10
|
</span>
|
|
16
|
-
|
|
17
|
-
{{/if}}
|
|
11
|
+
</li>
|
|
18
12
|
{{#each payments-list}}
|
|
19
13
|
<li class="payways__item">
|
|
20
14
|
<img class="payways__image" src="{{src}}" alt="{{payment}}">
|