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
|
@@ -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
|
|
package/src/page_my-account.html
CHANGED
package/src/page_my-order.html
CHANGED
|
@@ -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-
|
|
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>
|