wickes-css2 2.98.0-develop.7 → 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 +3 -3
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/energy-efficiency.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/components/legal-info.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_quiz.css +1 -1
- package/build/css/pages/page_track-my-order.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 +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +55 -131
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- 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/build/js/page/pdp.js +1 -4
- package/build/js/pdp.bundle.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 +2 -2
- 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_order-summary-new.hbs +13 -18
- package/src/components/checkout_payment-new.hbs +10 -1
- package/src/components/donation-cart-new.hbs +38 -0
- package/src/components/header-minicart.hbs +3 -3
- package/src/components/legal-info.hbs +25 -22
- 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/my-account/saving-totaliser.hbs +52 -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/pdp-price-actions.hbs +1 -1
- package/src/components/price-block-v2.hbs +14 -8
- package/src/components/track-my-order-info.hbs +3 -1
- package/src/components/wismo-payment.hbs +16 -0
- package/src/data/data_confirmation-summary.json +3 -3
- package/src/data/data_latest-offers.json +1 -1
- package/src/data/data_mini-basket.json +6 -80
- package/src/data/data_page-category.json +1 -2
- package/src/data/data_page-merge-basket.json +1 -1
- package/src/data/data_shopping-cart-v2.json +51 -0
- package/src/data/data_store-locator-v2.json +1 -1
- 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/components/general/text-clamp.js +1 -2
- package/src/js/emulation/big-wins.js +29 -29
- package/src/js/emulation/mock.js +1 -60
- package/src/js/emulation/paymentLoader.js +22 -11
- package/src/js/emulation/popover-mini-basket.js +2 -2
- 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/js/page/pdp.js +1 -4
- package/src/layouts/base.hbs +0 -6
- package/src/layouts/my-account-v2.hbs +0 -7
- 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-trade-pro-components.html +27 -0
- package/src/page_my-account-trade-pro.html +7 -0
- 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_product-details-saved-pl.html +13 -16
- package/src/page_product-details-with-global-search-v2.html +0 -1
- 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/common/_scroll-disable.scss +2 -4
- 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/legal-info.scss +0 -61
- 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/my-account/_saving-totaliser.scss +175 -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/globals/_global-components.scss +0 -1
- package/src/scss/helpers/_mixins.scss +0 -8
- package/src/scss/helpers/_variables.scss +0 -1
- package/src/scss/homepage-main.scss +0 -1
- package/src/scss/main.scss +0 -1
- 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 +3 -0
- package/src/scss/pages/page_track-my-order.scss +0 -21
- package/src/scss/pages/page_wismo-details.scss +1 -0
- package/src/scss/partials/_header-critical.scss +0 -14
- package/src/scss/partials/_header.scss +0 -14
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +2 -0
- package/src/sitemap.html +32 -2
- package/src/components/mini-basket/mini-basket-empty.hbs +0 -17
- package/src/components/mini-basket/mini-basket.hbs +0 -39
- package/src/components/mini-basket/product-item.hbs +0 -24
- package/src/js/components/general/backdrop.js +0 -23
- package/src/js/components/general/cart-slider.js +0 -16
- package/src/js/components/general/create-popup-slider.js +0 -196
- package/src/js/components/general/mini-basket-slider.js +0 -8
- package/src/js/emulation/custom-slider-emulation.js +0 -28
- package/src/page_shopping-cart-charity.html +0 -56
- package/src/scss/components/_custom-slider.scss +0 -541
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickes-css2",
|
|
3
|
-
"version": "2.98.0-develop.
|
|
3
|
+
"version": "2.98.0-develop.9",
|
|
4
4
|
"description": "CSS and JS and page templates in use by Wickes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"branches": [
|
|
109
109
|
"alt-master",
|
|
110
110
|
{
|
|
111
|
-
"name": "
|
|
111
|
+
"name": "develop",
|
|
112
112
|
"prerelease": "${name.replace(/^custom-tag\\//g, '')}"
|
|
113
113
|
}
|
|
114
114
|
],
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<div class="form-row radio-group" data-row-required>
|
|
2
|
+
<label class="form-row__label form-row__label_required">
|
|
3
|
+
Select your business type
|
|
4
|
+
</label>
|
|
5
|
+
|
|
6
|
+
<div class="form-row">
|
|
7
|
+
<div class="form-row__field">
|
|
8
|
+
{{> radiobutton
|
|
9
|
+
id="businessTypeUnregistered"
|
|
10
|
+
name="businessType"
|
|
11
|
+
value="unregistered"
|
|
12
|
+
label="Unregistered Sole Trader / Business"}}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="form-row">
|
|
16
|
+
<div class="form-row__field">
|
|
17
|
+
{{> radiobutton
|
|
18
|
+
id="businessTypeRegistered"
|
|
19
|
+
name="businessType"
|
|
20
|
+
value="registered"
|
|
21
|
+
labelClass="registered-label"
|
|
22
|
+
label="Registered Sole Trader / Business"
|
|
23
|
+
tooltip="A Registered Business is one that has undergone the official process of being recognised and registered with Companies House, establishing its legal identity and enabling it to operate within a specific jurisdiction, such as a limited company. A Registered Business will have been issued a Company Registration Number (CRN) from Companies House."}}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div
|
|
28
|
+
id="unregistered-fields"
|
|
29
|
+
class="radio-expanded-content"
|
|
30
|
+
>
|
|
31
|
+
{{> form-row id="first-name" label="First name" required="true" row-mod="first-name"}}
|
|
32
|
+
{{> form-row id="last-name" label="Last name" required="true" row-mod="last-name"}}
|
|
33
|
+
{{> form-row id="business-name" label="Business name" required="true" row-mod="unregistered-business"}}
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div
|
|
37
|
+
id="registered-fields"
|
|
38
|
+
class="radio-expanded-content"
|
|
39
|
+
>
|
|
40
|
+
{{> form-row id="business-name-2" label="Business name" required="true" row-mod="registered-business"}}
|
|
41
|
+
{{> form-row id="company-reg-number" label="Company registration number" row-mod="reg-number"}}
|
|
42
|
+
</div>
|
|
@@ -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" info="Eg house number/name, street name"}}
|
|
7
7
|
{{> form-row id="address-line-2" label="Address line 2"}}
|
|
8
|
-
{{> form-row id="town-city" label="Town
|
|
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}}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{{#if title}}
|
|
2
|
+
{{> checkout-section-title}}
|
|
3
|
+
{{/if}}
|
|
4
|
+
<div class="charity-new charity-donation-new">
|
|
5
|
+
{{#with checkoutOrder.charity}}
|
|
6
|
+
|
|
7
|
+
<div class="charity-donation-new__wrapper">
|
|
8
|
+
<div class="charity-donation-new__top">
|
|
9
|
+
<div class="charity-donation-new__header">
|
|
10
|
+
<div class="charity-donation-new__title">{{title}}</div>
|
|
11
|
+
<div class="charity-donation-new__right">
|
|
12
|
+
<img
|
|
13
|
+
class="charity-donation-new__image"
|
|
14
|
+
src="{{img}}"
|
|
15
|
+
alt="{{title}}"
|
|
16
|
+
title="{{title}}"
|
|
17
|
+
/>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div class="charity-donation-new__description">
|
|
22
|
+
{{descr}}
|
|
23
|
+
<span class="charity-donation-new__message">
|
|
24
|
+
{{message}}
|
|
25
|
+
<a
|
|
26
|
+
class="charity-donation-new__subtitle-link"
|
|
27
|
+
href="{{subLink}}"
|
|
28
|
+
>
|
|
29
|
+
click here</a>.
|
|
30
|
+
</span>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="charity-donation-new__body">
|
|
35
|
+
{{> donation-cart-new}}
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
{{/with}}
|
|
40
|
+
</div>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{{#extend "modal" id="billieLearnMoreModal" classMod="billie-modal modal-scroll-observer" title="" showCloseBtn=true centered=true backdrop=true fullWidth=true}}
|
|
2
|
+
{{#content "header"}}
|
|
3
|
+
<img src="./img/billie-modal.svg" alt="billie header logo" class="modal-header-logo">
|
|
4
|
+
{{/content}}
|
|
5
|
+
{{#content "body"}}
|
|
6
|
+
<div class="billie-modal__content">
|
|
7
|
+
<h4 class="billie-modal__heading">Benefits for Tradespeople and Small Businesses</h4>
|
|
8
|
+
<ul class="billie-modal__list">
|
|
9
|
+
<li>Potential for a higher credit limit*</li>
|
|
10
|
+
<li>Increased flexibility thanks to extended payment terms</li>
|
|
11
|
+
<li>Settle outstanding payments via Bank Transfer</li>
|
|
12
|
+
<li>View all your Wickes / Billie Orders in one place with your Trade Pro Account, on the Order History page.</li>
|
|
13
|
+
</ul>
|
|
14
|
+
|
|
15
|
+
<h4 class="billie-modal__heading">Buy now, pay within 30 days</h4>
|
|
16
|
+
<ol class="billie-modal__list billie-modal__list--ordered">
|
|
17
|
+
<li>Add items to your basket and proceed to checkout</li>
|
|
18
|
+
<li>Select Billie as your payment method</li>
|
|
19
|
+
<li>Enter your Business details on the payments page and Billie portal where necessary</li>
|
|
20
|
+
<li>Billie review your submitted details in real-time and gives instant feedback if your order was successful</li>
|
|
21
|
+
<li>From the point of collection / delivery of goods you’ll have 30 days to pay</li>
|
|
22
|
+
<li>Billie will send you the invoice document via email and remind you when it is time to pay</li>
|
|
23
|
+
</ol>
|
|
24
|
+
|
|
25
|
+
<p class="billie-modal__disclaimer">
|
|
26
|
+
*Available credit limits can differ between customers and are dependent on results of a credit check
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
<a href="https://www.wickes.co.uk/payments" class="billie-modal__read-more">Read more</a> about Billie
|
|
30
|
+
</div>
|
|
31
|
+
{{/content}}
|
|
32
|
+
|
|
33
|
+
{{#content "footer"}}
|
|
34
|
+
<div class="modal-box__inner-row justify-content-center modal-box__footer-row">
|
|
35
|
+
<div class="modal-box__inner-columns">
|
|
36
|
+
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
{{/content}}
|
|
40
|
+
|
|
41
|
+
{{/extend}}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<div class="billie {{#if basketStyles}}billie-basket{{/if}}">
|
|
2
|
+
<span class="billie__logo">
|
|
3
|
+
<img class="billie__image" src="./img/billie-pdp.svg" alt="Billie">
|
|
4
|
+
</span>
|
|
5
|
+
<div class="billie__content">
|
|
6
|
+
<span class="billie__title">
|
|
7
|
+
Buy Now Pay Later for Trade.
|
|
8
|
+
<a href="#" class="billie__link" data-toggle="modal" data-target="#billieLearnMoreModal">Learn more</a>
|
|
9
|
+
</span>
|
|
10
|
+
<span class="billie__subtitle">
|
|
11
|
+
Interest free
|
|
12
|
+
</span>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
@@ -1,18 +1,32 @@
|
|
|
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}}
|
|
4
12
|
<div class="warning-required">Required fields</div>
|
|
5
|
-
|
|
6
|
-
<div class="form-
|
|
7
|
-
|
|
13
|
+
{{#unless billie-form}}
|
|
14
|
+
<div class="form-row">
|
|
15
|
+
<div class="form-row__field">
|
|
16
|
+
{{> checkbox id="chb-payment-details-card" label="Use my delivery address"}}
|
|
17
|
+
</div>
|
|
8
18
|
</div>
|
|
9
|
-
|
|
19
|
+
{{/unless}}
|
|
10
20
|
{{#unless edit-bill-mod}}
|
|
11
21
|
{{> form-row id="card-name" label="Name on card" required="true"}}
|
|
12
22
|
{{/unless}}
|
|
13
23
|
|
|
14
|
-
|
|
15
|
-
|
|
24
|
+
<div class="address-postcode">
|
|
25
|
+
{{> address-postcode-look-up}}
|
|
26
|
+
{{#if billie-form}}
|
|
27
|
+
{{> address-billie}}
|
|
28
|
+
{{/if}}
|
|
29
|
+
</div>
|
|
16
30
|
|
|
17
31
|
{{#unless no-set-card}}
|
|
18
32
|
<div class="form-row">
|
|
@@ -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>
|
|
@@ -18,26 +18,21 @@
|
|
|
18
18
|
</li>
|
|
19
19
|
{{/each}}
|
|
20
20
|
{{/if}}
|
|
21
|
-
{{
|
|
22
|
-
{{> checkout-voucher-accordion id=id}}
|
|
23
|
-
{{/unless}}
|
|
21
|
+
{{> checkout-voucher-accordion id=id}}
|
|
24
22
|
{{#if discounts}}
|
|
25
23
|
<li class="checkout-widget__accordion-wrap checkout-widget__details-discount">
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{{/each}}
|
|
39
|
-
</ul>
|
|
40
|
-
<span class="checkout-widget__detail-value">£0.00</span>
|
|
24
|
+
<span class="checkout-widget__detail-name checkout-widget__detail-name_accordion collapsed" data-toggle="collapse"
|
|
25
|
+
data-target="#acheckout-widget-accordion-{{id}}">Discount(s):
|
|
26
|
+
<span class="icon accordion__header-icon-small">
|
|
27
|
+
<i class="fas fa-angle-up"></i>
|
|
28
|
+
</span>
|
|
29
|
+
</span>
|
|
30
|
+
<ul class="checkout-widget__details-hidden collapse" id="acheckout-widget-accordion-{{id}}">
|
|
31
|
+
{{#each discounts}}
|
|
32
|
+
{{> cart-voucher}}
|
|
33
|
+
{{/each}}
|
|
34
|
+
</ul>
|
|
35
|
+
<span class="checkout-widget__detail-value">£0.00</span>
|
|
41
36
|
</li>
|
|
42
37
|
{{/if}}
|
|
43
38
|
</ul>
|
|
@@ -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>
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
</span>
|
|
7
7
|
<span class="header-right__link-title">Basket</span>
|
|
8
8
|
</span>
|
|
9
|
-
<
|
|
9
|
+
<a href="page_shopping-cart.html" class="header-right__link header-minicart__btn header-minicart__btn_link" style="display: none;">
|
|
10
10
|
<span class="btn__text">
|
|
11
11
|
<i class="fas fa-shopping-basket fa-2x"></i>
|
|
12
12
|
</span>
|
|
13
13
|
<span class="header-right__link-title">Basket</span>
|
|
14
|
-
</
|
|
14
|
+
</a>
|
|
15
15
|
</div>
|
|
16
16
|
<span class="header-minicart__counter">0</span>
|
|
17
|
-
</div>
|
|
17
|
+
</div>
|