wickes-css2 2.94.0-develop.2 → 2.94.0-develop.21
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 -4
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-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/my-account.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_default-store.css +1 -0
- package/build/css/pages/page_my-orders.css +1 -0
- package/build/css/pages/page_personal-details.css +1 -1
- package/build/css/pages/page_product-details-v2-critical.css +1 -1
- package/build/css/pages/page_product-details-v2.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/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pages/tradePro-signup.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/js/account-members.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/default-store.min.js +1 -0
- package/build/js/emulation.min.js +153 -5
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/my-orders.min.js +1 -0
- package/build/js/page/basket/summary-mobile.js +22 -0
- package/build/js/page/basket-v2.js +20 -6
- package/build/js/page/components/order-summary.js +8 -1
- package/build/js/page/components/sticky-order-observer.js +49 -0
- package/build/js/page/components/voucher.js +1 -1
- package/build/js/page/default-store.js +44 -0
- package/build/js/page/my-orders.js +165 -0
- package/build/js/page/personal-details.js +105 -36
- package/build/js/page/quiz.js +20 -11
- 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/build/js/quiz.min.js +1 -1
- package/package.json +1 -1
- package/src/components/account-families/actions-bar.hbs +3 -3
- package/src/components/checkout-action.hbs +14 -11
- package/src/components/checkout-voucher-accordion.hbs +15 -0
- package/src/components/checkout_order-summary-new.hbs +5 -3
- package/src/components/checkout_voucher_large.hbs +20 -16
- package/src/components/date-selection.hbs +1 -1
- package/src/components/default-store/current-store.hbs +60 -0
- package/src/components/default-store/list-of-store.hbs +39 -0
- package/src/components/default-store/store-form.hbs +29 -0
- package/src/components/default-store/store-unavailable.hbs +4 -0
- package/src/components/flatpickr-calendar.hbs +26 -0
- package/src/components/my-account/active-orders/header.hbs +6 -2
- package/src/components/my-account/active-orders/list-orders.hbs +14 -2
- package/src/components/my-account/active-orders/order-header.hbs +1 -1
- package/src/components/my-account/active-orders/order.hbs +10 -6
- package/src/components/my-account/clipboard-code-card.hbs +1 -1
- package/src/components/my-account/empty-orders.hbs +9 -0
- package/src/components/my-account/mobile-nav.hbs +23 -19
- package/src/components/my-account/orders-nav.hbs +15 -0
- package/src/components/my-account/personal-details-form.hbs +5 -0
- package/src/components/my-account/sort-by.hbs +3 -0
- package/src/components/my-account/user-account-actions.hbs +1 -1
- package/src/components/order-item.hbs +3 -3
- package/src/components/order-summary.hbs +91 -56
- package/src/components/partner-signup-form.hbs +4 -0
- package/src/components/signup-form.hbs +1 -2
- package/src/components/store-details.hbs +22 -20
- package/src/components/store-preview.hbs +0 -11
- package/src/components/summary-mobile-bar.hbs +17 -0
- package/src/components/user-information-field.hbs +1 -1
- package/src/data/data_big-wins-stores.json +0 -22
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/data/data_shopping-cart-v2.json +24 -0
- package/src/data/my-account/data_my-orders.json +246 -0
- package/src/data/my-account/data_personal-details.json +36 -11
- package/src/data/my-account/page_default-store.json +158 -0
- package/src/elements/dropdown.hbs +1 -1
- package/src/elements/input.hbs +2 -2
- package/src/js/components/flatpickr.js +167 -0
- package/src/js/components/general/handleAccordion.js +35 -0
- package/src/js/components/general/is-trade-pro.js +15 -1
- package/src/js/components/general/switchVat.js +1 -1
- package/src/js/components/leave-event.js +41 -2
- package/src/js/emulation/basket-data.js +2 -2
- package/src/js/emulation/big-wins.js +0 -2
- package/src/js/emulation/default-store.js +97 -0
- package/src/js/emulation/forms.js +1 -1
- package/src/js/emulation/mock.js +10 -0
- package/src/js/emulation/my-orders-local.js +41 -0
- package/src/js/page/basket/summary-mobile.js +22 -0
- package/src/js/page/basket-v2.js +20 -6
- package/src/js/page/components/order-summary.js +8 -1
- package/src/js/page/components/sticky-order-observer.js +49 -0
- package/src/js/page/components/voucher.js +1 -1
- package/src/js/page/default-store.js +44 -0
- package/src/js/page/my-orders.js +165 -0
- package/src/js/page/personal-details.js +105 -36
- package/src/js/page/quiz.js +20 -11
- package/src/layouts/basket-new.hbs +1 -1
- package/src/layouts/checkout-new.hbs +1 -0
- package/src/page_checkout_confirmation-new-marketing-consent-error.html +0 -2
- package/src/page_checkout_delivery-address-customer-journey.html +0 -5
- package/src/page_checkout_delivery-address-v2.html +0 -4
- package/src/page_checkout_delivery-details-v2-asm.html +1 -5
- package/src/page_checkout_delivery-details-v2-calendar-message.html +0 -3
- package/src/page_checkout_delivery-details-v2-oos.html +0 -3
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +0 -5
- package/src/page_checkout_delivery-details-v2-wisdom.html +0 -5
- package/src/page_checkout_delivery-details-with-loader-v2.html +0 -3
- package/src/page_checkout_delivery-details_guest-new.html +0 -5
- package/src/page_checkout_delivery_address-asm-new.html +0 -4
- package/src/page_checkout_next-day-delivery-details.html +0 -6
- package/src/page_checkout_payment-details-v2.html +1 -1
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +0 -2
- package/src/page_checkout_payment-details_login-with-checkout-journey.html +0 -2
- package/src/page_checkout_payment-details_with-card-loader.html +56 -0
- package/src/page_checkout_rapid-delivery-details.html +0 -6
- package/src/page_default-store-page-empty.html +48 -0
- package/src/page_default-store-page.html +55 -0
- package/src/page_klarna_payment-details_with-klarna.html +3 -6
- package/src/page_my-orders-empty.html +49 -0
- package/src/page_my-orders.html +64 -0
- package/src/page_payment-details-with-clearpay.html +1 -1
- package/src/page_payment-details_with_apple-pay.html +1 -1
- package/src/page_payment-details_with_google-pay.html +1 -1
- package/src/page_personal-details-installer.html +17 -7
- package/src/page_personal-details.html +15 -7
- package/src/page_shopping-cart-v2.html +6 -16
- package/src/page_tradePro-signup.html +1 -1
- package/src/scss/barclays-paypage-combined-minified.css +1 -1
- package/src/scss/barclays-paypage-combined.css +9 -15
- package/src/scss/components/_big-wins-critical.scss +0 -1
- package/src/scss/components/_big-wins.scss +1 -8
- package/src/scss/components/_checkout-action.scss +132 -6
- package/src/scss/components/_marketing-preferences.scss +1 -1
- package/src/scss/components/_order-item-cc.scss +0 -6
- package/src/scss/components/_order-summary.scss +329 -178
- package/src/scss/components/_sticky-element-appearance.scss +25 -0
- package/src/scss/components/checkout-payment-details-v2.scss +2 -2
- package/src/scss/components/my-account/_active-orders.scss +263 -0
- package/src/scss/components/my-account/_orders-nav.scss +61 -0
- package/src/scss/components/my-account/_shipment.scss +1 -0
- package/src/scss/helpers/_variables.scss +3 -0
- package/src/scss/libs/flatpickr.scss +235 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/_checkout-widget.scss +137 -28
- package/src/scss/pages/_my-account_new.scss +1 -12
- package/src/scss/pages/my-account-v2.scss +1 -136
- package/src/scss/pages/page_checkout_delivery-new.scss +119 -10
- package/src/scss/pages/page_default-store.scss +634 -0
- package/src/scss/pages/page_my-orders.scss +232 -0
- package/src/scss/pages/page_personal-details.scss +37 -5
- package/src/scss/pages/page_products-list-combined.scss +0 -1
- package/src/scss/pages/page_products-list.scss +0 -1
- package/src/scss/pages/page_shopping-cart-v2.scss +137 -34
- package/src/scss/pages/tradePro-signup.scss +27 -0
- package/src/scss/partials/_header.scss +5 -0
- package/src/sitemap.html +6 -0
- package/src/scss/components/my-account/_order.scss +0 -112
package/src/js/page/quiz.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
isValidInputTextField,
|
|
5
5
|
updateStylingError
|
|
6
6
|
} from "./utils/validation";
|
|
7
|
-
import {isTouchDevice
|
|
7
|
+
import {isTouchDevice} from "./utils/helpers";
|
|
8
8
|
|
|
9
9
|
var Wick = window.Wick || {};
|
|
10
10
|
Wick.Quiz = {
|
|
@@ -209,9 +209,25 @@ Wick.Quiz = {
|
|
|
209
209
|
};
|
|
210
210
|
|
|
211
211
|
html2pdf()
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
.set(options)
|
|
213
|
+
.from(selector)
|
|
214
|
+
.output('datauristring')
|
|
215
|
+
.then(function (pdfAsDataUri) {
|
|
216
|
+
|
|
217
|
+
const postMessage = {
|
|
218
|
+
event: 'matchMakertoolResultBase64',
|
|
219
|
+
data: {
|
|
220
|
+
filename: options.filename,
|
|
221
|
+
file: pdfAsDataUri
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
if (window.ReactNativeWebView && window.ReactNativeWebView.postMessage) {
|
|
226
|
+
window.ReactNativeWebView.postMessage(JSON.stringify(postMessage));
|
|
227
|
+
} else {
|
|
228
|
+
console.warn('ReactNativeWebView not available');
|
|
229
|
+
}
|
|
230
|
+
}).save();
|
|
215
231
|
}).catch(error => console.error("Error converting SVGs:", error));
|
|
216
232
|
},
|
|
217
233
|
|
|
@@ -251,12 +267,6 @@ Wick.Quiz = {
|
|
|
251
267
|
};
|
|
252
268
|
},
|
|
253
269
|
|
|
254
|
-
disablePrintButtonOnMobileApp: function() {
|
|
255
|
-
if (isApp()) {
|
|
256
|
-
Wick.Quiz.disableButton(Wick.Quiz.el.btnPrintResultQuiz);
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
|
|
260
270
|
handlePrintOrPDFInteraction: function (event) {
|
|
261
271
|
event.preventDefault();
|
|
262
272
|
|
|
@@ -284,7 +294,6 @@ Wick.Quiz = {
|
|
|
284
294
|
debouncedHandleInteraction(event);
|
|
285
295
|
});
|
|
286
296
|
|
|
287
|
-
Wick.Quiz.disablePrintButtonOnMobileApp();
|
|
288
297
|
}
|
|
289
298
|
};
|
|
290
299
|
|
|
@@ -36,8 +36,6 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
|
-
{{> checkout_voucher_large title="Voucher Code" id="0"}}
|
|
40
|
-
|
|
41
39
|
<div class="continue-btn">
|
|
42
40
|
<button class="btn btn-action">Continue to Delivery Details</button>
|
|
43
41
|
</div>
|
|
@@ -47,7 +45,6 @@
|
|
|
47
45
|
{{#content "foot" mode="append"}}
|
|
48
46
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
49
47
|
<script defer src="./js/page/select-address.js"></script>
|
|
50
|
-
<script src="./js/checkout.min.js"></script>
|
|
51
48
|
|
|
52
49
|
{{#extend "modal" classMod="edit-delivery-address" id="modalDeliveryEdit" title="Edit delivery address" fullWidth=true}}
|
|
53
50
|
{{#content "body"}}
|
|
@@ -67,5 +64,3 @@
|
|
|
67
64
|
|
|
68
65
|
{{/content}}
|
|
69
66
|
{{/extend}}
|
|
70
|
-
|
|
71
|
-
|
|
@@ -32,9 +32,6 @@
|
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
{{> checkout_voucher_large title="Voucher Code" id="0"}}
|
|
37
|
-
|
|
38
35
|
<div class="continue-btn">
|
|
39
36
|
<button class="btn btn-action">Continue to Delivery Details</button>
|
|
40
37
|
</div>
|
|
@@ -43,6 +40,5 @@
|
|
|
43
40
|
|
|
44
41
|
{{#content "foot" mode="append"}}
|
|
45
42
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
46
|
-
<script src="./js/checkout.min.js"></script>
|
|
47
43
|
{{/content}}
|
|
48
44
|
{{/extend}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Delivery details" isAsideSticky="true"}}
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new page_checkout" title="Checkout - Delivery details" isAsideSticky="true"}}
|
|
2
2
|
{{#content "steps"}}
|
|
3
3
|
{{> steps active-step-index="2" }}
|
|
4
4
|
{{/content}}
|
|
@@ -117,8 +117,6 @@
|
|
|
117
117
|
</button>
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
121
|
-
|
|
122
120
|
<div class="continue-btn">
|
|
123
121
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
124
122
|
</div>
|
|
@@ -146,5 +144,3 @@
|
|
|
146
144
|
|
|
147
145
|
{{/content}}
|
|
148
146
|
{{/extend}}
|
|
149
|
-
|
|
150
|
-
|
|
@@ -120,8 +120,6 @@
|
|
|
120
120
|
</button>
|
|
121
121
|
</div>
|
|
122
122
|
|
|
123
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
124
|
-
|
|
125
123
|
<div class="continue-btn">
|
|
126
124
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
127
125
|
</div>
|
|
@@ -131,7 +129,6 @@
|
|
|
131
129
|
{{#content "foot" mode="append"}}
|
|
132
130
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
133
131
|
<script defer src="./js/page/select-address.js"></script>
|
|
134
|
-
<script src="./js/checkout.min.js"></script>
|
|
135
132
|
|
|
136
133
|
{{#extend "modal" classMod="edit-delivery-address" id="modalEditAddress" title="Edit delivery address" fullWidth=true}}
|
|
137
134
|
{{#content "body"}}
|
|
@@ -144,8 +144,6 @@
|
|
|
144
144
|
</button>
|
|
145
145
|
</div>
|
|
146
146
|
|
|
147
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
148
|
-
|
|
149
147
|
<div class="continue-btn">
|
|
150
148
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
151
149
|
</div>
|
|
@@ -155,7 +153,6 @@
|
|
|
155
153
|
{{#content "foot" mode="append"}}
|
|
156
154
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
157
155
|
<script defer src="./js/page/select-address.js"></script>
|
|
158
|
-
<script src="./js/checkout.min.js"></script>
|
|
159
156
|
|
|
160
157
|
|
|
161
158
|
{{#extend "modal" classMod="edit-delivery-address" id="modalEditAddress" title="Edit delivery address" fullWidth=true}}
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
</button>
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
131
|
-
|
|
132
129
|
<div class="continue-btn">
|
|
133
130
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
134
131
|
</div>
|
|
@@ -160,5 +157,3 @@
|
|
|
160
157
|
|
|
161
158
|
{{/content}}
|
|
162
159
|
{{/extend}}
|
|
163
|
-
|
|
164
|
-
|
|
@@ -123,9 +123,6 @@
|
|
|
123
123
|
</button>
|
|
124
124
|
</div>
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
128
|
-
|
|
129
126
|
<div class="continue-btn">
|
|
130
127
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
131
128
|
</div>
|
|
@@ -157,5 +154,3 @@
|
|
|
157
154
|
|
|
158
155
|
{{/content}}
|
|
159
156
|
{{/extend}}
|
|
160
|
-
|
|
161
|
-
|
|
@@ -119,8 +119,6 @@
|
|
|
119
119
|
</button>
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
123
|
-
|
|
124
122
|
<div class="continue-btn">
|
|
125
123
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
126
124
|
</div>
|
|
@@ -130,7 +128,6 @@
|
|
|
130
128
|
{{#content "foot" mode="append"}}
|
|
131
129
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
132
130
|
<script defer src="./js/page/select-address.js"></script>
|
|
133
|
-
<script src="./js/checkout.min.js"></script>
|
|
134
131
|
|
|
135
132
|
{{#extend "modal" classMod="edit-delivery-address" id="modalEditAddress" title="Edit delivery address" fullWidth=true}}
|
|
136
133
|
{{#content "body"}}
|
|
@@ -117,8 +117,6 @@
|
|
|
117
117
|
</button>
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
121
|
-
|
|
122
120
|
<div class="continue-btn">
|
|
123
121
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
124
122
|
</div>
|
|
@@ -127,7 +125,6 @@
|
|
|
127
125
|
|
|
128
126
|
{{#content "foot" mode="append"}}
|
|
129
127
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
130
|
-
<script src="./js/checkout.min.js"></script>
|
|
131
128
|
|
|
132
129
|
{{#extend "modal" classMod="edit-delivery-address" id="modalDeliveryEdit" title="Edit delivery address" fullWidth=true}}
|
|
133
130
|
{{#content "body"}}
|
|
@@ -147,5 +144,3 @@
|
|
|
147
144
|
|
|
148
145
|
{{/content}}
|
|
149
146
|
{{/extend}}
|
|
150
|
-
|
|
151
|
-
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
28
|
-
|
|
29
27
|
<div class="continue-btn">
|
|
30
28
|
<button class="btn btn-action">Continue to Delivery Details</button>
|
|
31
29
|
</div>
|
|
@@ -35,7 +33,6 @@
|
|
|
35
33
|
{{#content "foot" mode="append"}}
|
|
36
34
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
37
35
|
<script defer src="./js/page/select-address.js"></script>
|
|
38
|
-
<script src="./js/checkout.min.js"></script>
|
|
39
36
|
|
|
40
37
|
{{#extend "modal" classMod="edit-delivery-address" id="modalDeliveryEdit" title="Edit delivery address" fullWidth=true}}
|
|
41
38
|
{{#content "body"}}
|
|
@@ -51,4 +48,3 @@
|
|
|
51
48
|
|
|
52
49
|
{{/content}}
|
|
53
50
|
{{/extend}}
|
|
54
|
-
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
</button>
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
131
|
-
|
|
132
129
|
<div class="continue-btn">
|
|
133
130
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
134
131
|
</div>
|
|
@@ -138,7 +135,6 @@
|
|
|
138
135
|
{{#content "foot" mode="append"}}
|
|
139
136
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
140
137
|
<script defer src="./js/page/select-address.js"></script>
|
|
141
|
-
<script src="./js/checkout.min.js"></script>
|
|
142
138
|
|
|
143
139
|
{{#extend "modal" classMod="edit-delivery-address" id="modalEditAddress" title="Edit delivery address" fullWidth=true}}
|
|
144
140
|
{{#content "body"}}
|
|
@@ -157,5 +153,3 @@
|
|
|
157
153
|
|
|
158
154
|
{{/content}}
|
|
159
155
|
{{/extend}}
|
|
160
|
-
|
|
161
|
-
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Payment details" isAsideSticky="true" clearPayIcon=true}}
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new page_checkout" title="Checkout - Payment details" isAsideSticky="true" clearPayIcon=true}}
|
|
2
2
|
{{#content "steps"}}
|
|
3
3
|
{{> steps-three-steps active-step-index="2"}}
|
|
4
4
|
{{/content}}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Payment details" isAsideSticky="true"}}
|
|
2
|
+
{{#content "steps"}}
|
|
3
|
+
{{> steps-three-steps active-step-index="3" }}
|
|
4
|
+
{{/content}}
|
|
5
|
+
|
|
6
|
+
{{#content "head" mode="append"}}
|
|
7
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
|
|
8
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_checkout_delivery-new.css">
|
|
9
|
+
<link type="text/css" rel="stylesheet" href="./css/components/payment-details-BPS-form.css">
|
|
10
|
+
<link type="text/css" rel="stylesheet" href="./css/components/checkout-payment-details-v2.css">
|
|
11
|
+
{{/content}}
|
|
12
|
+
|
|
13
|
+
{{#content "aside"}}
|
|
14
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
|
|
15
|
+
{{/content}}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
{{#content "main"}}
|
|
19
|
+
<div class="delivery-block">
|
|
20
|
+
<h3 class="delivery-block__heading">Delivery Information</h3>
|
|
21
|
+
<div class="delivery-block__wrapper">
|
|
22
|
+
{{#with checkoutOrder.deliveryPayments.[0]}}
|
|
23
|
+
<div class="checkout-order">
|
|
24
|
+
{{> checkout-order-block}}
|
|
25
|
+
</div>
|
|
26
|
+
{{/with}}
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="click-collect-block">
|
|
31
|
+
<h3 class="click-collect-block__heading">Click & Collect</h3>
|
|
32
|
+
<div class="click-collect-block__wrapper">
|
|
33
|
+
{{#with checkoutOrder.clickCollectDeliveryAddress.[0]}}
|
|
34
|
+
<div class="checkout-order">
|
|
35
|
+
{{> checkout-order-block}}
|
|
36
|
+
</div>
|
|
37
|
+
{{/with}}
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="billing-payment-block">
|
|
42
|
+
<h3 class="billing-payment-block__heading">Billing & Payment</h3>
|
|
43
|
+
<div class="billing-payment-block__wrapper">
|
|
44
|
+
{{> checkout-payment-details-v2 }}
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
{{/content}}
|
|
49
|
+
|
|
50
|
+
{{#content "foot" mode="append"}}
|
|
51
|
+
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
52
|
+
<script defer src="./js/page/checkout-payment-details.js"></script>
|
|
53
|
+
{{> checkout-terms-and-conditions-modal }}
|
|
54
|
+
{{> payment-loader }}
|
|
55
|
+
{{/content}}
|
|
56
|
+
{{/extend}}
|
|
@@ -128,9 +128,6 @@
|
|
|
128
128
|
</button>
|
|
129
129
|
</div>
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
{{> checkout_voucher_large title="Voucher Code"}}
|
|
133
|
-
|
|
134
131
|
<div class="continue-btn">
|
|
135
132
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
136
133
|
</div>
|
|
@@ -140,7 +137,6 @@
|
|
|
140
137
|
{{#content "foot" mode="append"}}
|
|
141
138
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
142
139
|
<script defer src="./js/page/select-address.js"></script>
|
|
143
|
-
<script src="./js/checkout.min.js"></script>
|
|
144
140
|
|
|
145
141
|
{{#extend "modal" classMod="edit-delivery-address" id="modalEditAddress" title="Edit delivery address" fullWidth=true}}
|
|
146
142
|
{{#content "body"}}
|
|
@@ -159,5 +155,3 @@
|
|
|
159
155
|
|
|
160
156
|
{{/content}}
|
|
161
157
|
{{/extend}}
|
|
162
|
-
|
|
163
|
-
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{{#extend "my-account-v2" dataBreadcrumbs=default-store.breadcrumbs pageClass="page_my-account_new" title="Default Store Page" pageMyAcc=true myAccV2=true isLoggedIn=true mainClass="default-store"}}
|
|
2
|
+
{{#content "head" mode="append"}}
|
|
3
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_default-store.css">
|
|
4
|
+
{{/content}}
|
|
5
|
+
{{#content "main"}}
|
|
6
|
+
<div class="container">
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-12">
|
|
9
|
+
{{> my-account/mobile-nav
|
|
10
|
+
menu=default-store.menu
|
|
11
|
+
active-index=6
|
|
12
|
+
page-name=default-store.menu.[6].title
|
|
13
|
+
}}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<div class="container default-store__wrap">
|
|
19
|
+
<div class="row">
|
|
20
|
+
<div class="col-12 d-md-none">
|
|
21
|
+
<h1 class="default-store__title">{{default-store.title}}</h1>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-12 col-md-6 default-store__search">
|
|
24
|
+
<div class="default-store__header">
|
|
25
|
+
<h1 class="default-store__title d-none d-md-block">{{default-store.title}}</h1>
|
|
26
|
+
<p class="default-store__subtitle">{{default-store.subtitle}}</p>
|
|
27
|
+
</div>
|
|
28
|
+
{{> default-store/store-form
|
|
29
|
+
default-store.searchField
|
|
30
|
+
}}
|
|
31
|
+
{{> default-store/store-unavailable
|
|
32
|
+
default-store.unavailable
|
|
33
|
+
}}
|
|
34
|
+
{{> default-store/list-of-store
|
|
35
|
+
style="display: none;"
|
|
36
|
+
}}
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-12 col-md-6">
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
{{/content}}
|
|
44
|
+
{{#content "foot" mode="append"}}
|
|
45
|
+
<script defer src="./js/my-account.min.js"></script>
|
|
46
|
+
<script defer src="./js/default-store.min.js"></script>
|
|
47
|
+
{{/content}}
|
|
48
|
+
{{/extend}}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{{#extend "my-account-v2" dataBreadcrumbs=default-store.breadcrumbs pageClass="page_my-account_new" title="Default Store Page" pageMyAcc=true myAccV2=true isLoggedIn=true mainClass="default-store"}}
|
|
2
|
+
{{#content "head" mode="append"}}
|
|
3
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_default-store.css">
|
|
4
|
+
{{/content}}
|
|
5
|
+
{{#content "notification"}}
|
|
6
|
+
<div class="globalMessages">
|
|
7
|
+
<div class="container">
|
|
8
|
+
{{> notifications notification-page.success withCloseBtn="true"}}
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
{{/content}}
|
|
12
|
+
{{#content "main"}}
|
|
13
|
+
<div class="container">
|
|
14
|
+
<div class="row">
|
|
15
|
+
<div class="col-12">
|
|
16
|
+
{{> my-account/mobile-nav
|
|
17
|
+
menu=default-store.menu
|
|
18
|
+
active-index=6
|
|
19
|
+
page-name=default-store.menu.[6].title
|
|
20
|
+
}}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="container default-store__wrap">
|
|
26
|
+
<div class="row">
|
|
27
|
+
<div class="col-12 d-md-none">
|
|
28
|
+
<h1 class="default-store__title">{{default-store.title}}</h1>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-12 col-md-6 default-store__search">
|
|
31
|
+
<div class="default-store__header">
|
|
32
|
+
<h1 class="default-store__title d-none d-md-block">{{default-store.title}}</h1>
|
|
33
|
+
<p class="default-store__subtitle default-store__subtitle--change">{{default-store.subtitleChange}}</p>
|
|
34
|
+
</div>
|
|
35
|
+
{{> default-store/store-form
|
|
36
|
+
default-store.searchField
|
|
37
|
+
}}
|
|
38
|
+
{{> default-store/list-of-store
|
|
39
|
+
style="display: none;"
|
|
40
|
+
}}
|
|
41
|
+
</div>
|
|
42
|
+
<div class="col-12 col-md-6">
|
|
43
|
+
{{> default-store/current-store
|
|
44
|
+
default-store.currentStore
|
|
45
|
+
}}
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
{{/content}}
|
|
51
|
+
{{#content "foot" mode="append"}}
|
|
52
|
+
<script defer src="./js/my-account.min.js"></script>
|
|
53
|
+
<script defer src="./js/default-store.min.js"></script>
|
|
54
|
+
{{/content}}
|
|
55
|
+
{{/extend}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Payment details with Klarna" isAsideSticky="true"}}
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new page_checkout" title="Checkout - Payment details with Klarna" isAsideSticky="true"}}
|
|
2
2
|
{{#content "steps"}}
|
|
3
3
|
{{> steps-three-steps active-step-index="2"}}
|
|
4
4
|
{{/content}}
|
|
@@ -18,15 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
{{#content "main"}}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
21
|
<div class="delivery-block">
|
|
25
22
|
<h3 class="delivery-block__heading">Delivery Information</h3>
|
|
26
23
|
<apple-pay-button buttonstyle="black" type="buy" locale="en-GB"></apple-pay-button>
|
|
27
24
|
<div class="delivery-block__wrapper">
|
|
28
25
|
{{#with checkoutOrder.deliveryPayments.[0]}}
|
|
29
|
-
<div class="checkout-order">
|
|
26
|
+
<div class="checkout-order">
|
|
30
27
|
{{> checkout-order-block}}
|
|
31
28
|
</div>
|
|
32
29
|
{{/with}}
|
|
@@ -37,7 +34,7 @@
|
|
|
37
34
|
<h3 class="click-collect-block__heading">Click & Collect</h3>
|
|
38
35
|
<div class="click-collect-block__wrapper">
|
|
39
36
|
{{#with checkoutOrder.clickCollectDeliveryAddress.[0]}}
|
|
40
|
-
<div class="checkout-order">
|
|
37
|
+
<div class="checkout-order">
|
|
41
38
|
{{> checkout-order-block}}
|
|
42
39
|
</div>
|
|
43
40
|
{{/with}}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{{#extend
|
|
2
|
+
"my-account-v2"
|
|
3
|
+
dataBreadcrumbs=my_orders.breadcrumbs
|
|
4
|
+
pageClass="page_my-account_new"
|
|
5
|
+
title="My Orders"
|
|
6
|
+
pageMyAcc=true
|
|
7
|
+
myAccV2=true
|
|
8
|
+
isLoggedIn=true
|
|
9
|
+
mainClass="my-orders"
|
|
10
|
+
}}
|
|
11
|
+
{{#content "head" mode="append"}}
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_my-orders.css">
|
|
13
|
+
{{/content}}
|
|
14
|
+
{{#content "notification"}}
|
|
15
|
+
<div class="globalMessages">
|
|
16
|
+
</div>
|
|
17
|
+
{{/content}}
|
|
18
|
+
{{#content "main"}}
|
|
19
|
+
<div class="container">
|
|
20
|
+
<div class="row">
|
|
21
|
+
<div class="col-12">
|
|
22
|
+
{{> my-account/mobile-nav
|
|
23
|
+
menu=default-store.menu
|
|
24
|
+
active-index=1
|
|
25
|
+
page-name=my_orders.menu.[1].title
|
|
26
|
+
}}
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="container my-orders__wrap">
|
|
32
|
+
<div class="row">
|
|
33
|
+
<div class="col-12">
|
|
34
|
+
<div class="my-orders__header">
|
|
35
|
+
<h1 class="my-orders__title">My Orders</h1>
|
|
36
|
+
</div>
|
|
37
|
+
{{> my-account/empty-orders
|
|
38
|
+
title=my_orders.emptyOrders.title
|
|
39
|
+
image=my_orders.emptyOrdersImage
|
|
40
|
+
btnText=my_orders.emptyOrders.btnTitle
|
|
41
|
+
}}
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
{{/content}}
|
|
47
|
+
{{#content "foot" mode="append"}}
|
|
48
|
+
{{/content}}
|
|
49
|
+
{{/extend}}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{{#extend
|
|
2
|
+
"my-account-v2"
|
|
3
|
+
dataBreadcrumbs=my_orders.breadcrumbs
|
|
4
|
+
pageClass="page_my-account_new"
|
|
5
|
+
title="My Orders"
|
|
6
|
+
pageMyAcc=true
|
|
7
|
+
myAccV2=true
|
|
8
|
+
isLoggedIn=true
|
|
9
|
+
mainClass="my-orders"
|
|
10
|
+
}}
|
|
11
|
+
{{#content "head" mode="append"}}
|
|
12
|
+
<link href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css" rel="stylesheet">
|
|
13
|
+
<link href="https://cdn.jsdelivr.net/npm/flatpickr/dist/plugins/monthSelect/style.css" rel="stylesheet">
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_my-orders.css">
|
|
15
|
+
{{/content}}
|
|
16
|
+
{{#content "notification"}}
|
|
17
|
+
<div class="globalMessages">
|
|
18
|
+
</div>
|
|
19
|
+
{{/content}}
|
|
20
|
+
{{#content "main"}}
|
|
21
|
+
<div class="container">
|
|
22
|
+
<div class="row">
|
|
23
|
+
<div class="col-12">
|
|
24
|
+
{{> my-account/mobile-nav
|
|
25
|
+
menu=default-store.menu
|
|
26
|
+
active-index=1
|
|
27
|
+
page-name=my_orders.menu.[1].title
|
|
28
|
+
}}
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div class="container my-orders__wrap">
|
|
34
|
+
<div class="row">
|
|
35
|
+
<div class="col-12">
|
|
36
|
+
<div class="my-orders__header">
|
|
37
|
+
<h1 class="my-orders__title">My Orders</h1>
|
|
38
|
+
<div class="my-orders__sorts">
|
|
39
|
+
{{> flatpickr-calendar
|
|
40
|
+
textTooltip="Filter by year and month the order was placed"
|
|
41
|
+
}}
|
|
42
|
+
{{> my-account/sort-by }}
|
|
43
|
+
</div>
|
|
44
|
+
{{> my-account/orders-nav
|
|
45
|
+
nav=my_orders.nav
|
|
46
|
+
category=my_orders.nav.[0].title
|
|
47
|
+
}}
|
|
48
|
+
</div>
|
|
49
|
+
{{> my-account/active-orders/list-orders
|
|
50
|
+
title=false
|
|
51
|
+
orders=my_orders.orderList
|
|
52
|
+
isLoadMore=true
|
|
53
|
+
}}
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
{{/content}}
|
|
59
|
+
{{#content "foot" mode="append"}}
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/flatpickr" defer></script>
|
|
61
|
+
<script src="https://cdn.jsdelivr.net/npm/flatpickr/dist/plugins/monthSelect/index.js" defer></script>
|
|
62
|
+
<script src="./js/my-orders.min.js" defer></script>
|
|
63
|
+
{{/content}}
|
|
64
|
+
{{/extend}}
|