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
|
@@ -3067,35 +3067,35 @@ Wick.BigWinsProto = function () {
|
|
|
3067
3067
|
$temp.remove();
|
|
3068
3068
|
});
|
|
3069
3069
|
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3070
|
+
bwVar.$addForDelivery.on('click', function () {
|
|
3071
|
+
Wick.SnackBar.show(
|
|
3072
|
+
{
|
|
3073
|
+
text: 'Notification success message for Delivery with Close Btn',
|
|
3074
|
+
type: Wick.SnackBar.types.SUCCESS
|
|
3075
|
+
}
|
|
3076
|
+
);
|
|
3077
|
+
Wick.SnackBar.show(
|
|
3078
|
+
{
|
|
3079
|
+
text: 'Notification warning message for Delivery with Close Btn',
|
|
3080
|
+
type: Wick.SnackBar.types.WARNING
|
|
3081
|
+
}
|
|
3082
|
+
);
|
|
3083
|
+
Wick.SnackBar.show(
|
|
3084
|
+
{
|
|
3085
|
+
text: 'Notification error message for Delivery with Close Btn',
|
|
3086
|
+
type: Wick.SnackBar.types.ERROR
|
|
3087
|
+
}
|
|
3088
|
+
);
|
|
3089
|
+
Wick.SnackBar.show(
|
|
3090
|
+
{
|
|
3091
|
+
text: 'Notification success message for Delivery with Autoclose',
|
|
3092
|
+
type: Wick.SnackBar.types.SUCCESS,
|
|
3093
|
+
withCloseButton: false,
|
|
3094
|
+
autoClose: true,
|
|
3095
|
+
delayBeforeClose: 3000
|
|
3096
|
+
}
|
|
3097
|
+
);
|
|
3098
|
+
});
|
|
3099
3099
|
|
|
3100
3100
|
bwVar.$addClickAndCollect.on('click', function (e) {
|
|
3101
3101
|
e.stopPropagation();
|
|
@@ -3687,35 +3687,6 @@ $(document).ready(function () {
|
|
|
3687
3687
|
showNotification();
|
|
3688
3688
|
});
|
|
3689
3689
|
|
|
3690
|
-
|
|
3691
|
-
function simulateHybrisSendingHtml() {
|
|
3692
|
-
const htmlFromHybris = Wick.FEMock.cartPDP;
|
|
3693
|
-
const event = new CustomEvent('productAddedToCart', {
|
|
3694
|
-
detail: { html: htmlFromHybris }
|
|
3695
|
-
});
|
|
3696
|
-
document.dispatchEvent(event);
|
|
3697
|
-
}
|
|
3698
|
-
|
|
3699
|
-
function initCloseJustAddedDiff() {
|
|
3700
|
-
$(window).on('CLOSE_JUST_ADDED CLOSE_MINI_BASKET', function ({ detail: { resolve }}) {
|
|
3701
|
-
setTimeout(() => {
|
|
3702
|
-
return resolve();
|
|
3703
|
-
}, 200);
|
|
3704
|
-
});
|
|
3705
|
-
};
|
|
3706
|
-
|
|
3707
|
-
function simulateShowMiniBasket() {
|
|
3708
|
-
const event = new CustomEvent('showMiniBasket', {});
|
|
3709
|
-
document.dispatchEvent(event);
|
|
3710
|
-
}
|
|
3711
|
-
|
|
3712
|
-
$(document).ready(function () {
|
|
3713
|
-
$('.btn-add-to-basket').on('click', simulateHybrisSendingHtml);
|
|
3714
|
-
$('.header-minicart__btn').on('click', simulateShowMiniBasket);
|
|
3715
|
-
|
|
3716
|
-
initCloseJustAddedDiff();
|
|
3717
|
-
});
|
|
3718
|
-
|
|
3719
3690
|
var Wick = Wick || {};
|
|
3720
3691
|
Wick.DateSelection = (function(){
|
|
3721
3692
|
var $self = $('.date-selection'),
|
|
@@ -6176,66 +6147,7 @@ Wick.FEMock = {
|
|
|
6176
6147
|
"page": 2,
|
|
6177
6148
|
"html": '<article class="active-orders__item"><header class="order-header"><h3 class="order-header__title">Order 940564001</h3><div class="order-status completed"><svg class="svg-inline--fa fa-check-circle fa-w-16 icon" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><span>Complete</span></div></header><section class="order-details"><div class="order-details__summary"><span class="order-details__price">£92.75</span> <span class="order-details__count">7 item(s)</span></div><time class="order-details__date" datetime="21st November 2024 4:32 PM">21st November 2024 4:32 PM</time></section><div class="view-more"><a class="link" href="/"><span>View More</span> <svg class="svg-inline--fa fa-arrow-right fa-w-14 icon" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="arrow-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg></a></div></article><article class="active-orders__item"><header class="order-header"><h3 class="order-header__title">Order 940520002</h3><div class="order-status cancelled"><svg class="svg-inline--fa fa-times fa-w-10 icon" aria-hidden="true" focusable="false" data-prefix="far" data-icon="times" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" data-fa-i2svg=""><path fill="currentColor" d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"></path></svg><span>Cancelled</span></div></header><section class="order-details"><div class="order-details__summary"><span class="order-details__price">£32.00</span> <span class="order-details__count">1 item(s)</span></div><time class="order-details__date" datetime="28th October 2024 7:29 AM">28th October 2024 7:29 AM</time></section><div class="view-more"><a class="link" href="/"><span>View More</span> <svg class="svg-inline--fa fa-arrow-right fa-w-14 icon" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="arrow-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg></a></div></article>'
|
|
6178
6149
|
}
|
|
6179
|
-
]
|
|
6180
|
-
cartPDP: `
|
|
6181
|
-
<div class="custom-slider__wrap slider-mini-basket popover-mini-basket">
|
|
6182
|
-
<div class="custom-slider__header">
|
|
6183
|
-
<a href="#" type="button" class="link close-popup">
|
|
6184
|
-
<span class="icon-wrap">
|
|
6185
|
-
<svg class="svg-inline--fa fa-angle-left fa-w-6" aria-hidden="true" focusable="false" data-prefix="far" data-icon="angle-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512" data-fa-i2svg="">
|
|
6186
|
-
<path fill="currentColor" d="M4.2 247.5L151 99.5c4.7-4.7 12.3-4.7 17 0l19.8 19.8c4.7 4.7 4.7 12.3 0 17L69.3 256l118.5 119.7c4.7 4.7 4.7 12.3 0 17L168 412.5c-4.7 4.7-12.3 4.7-17 0L4.2 264.5c-4.7-4.7-4.7-12.3 0-17z"></path>
|
|
6187
|
-
</svg>
|
|
6188
|
-
</span>
|
|
6189
|
-
Continue Shopping
|
|
6190
|
-
</a>
|
|
6191
|
-
<a href="#" type="button" class="icon-wrap close-popup">
|
|
6192
|
-
<svg class="svg-inline--fa fa-times fa-w-10 icon" aria-hidden="true" focusable="false" data-prefix="far" data-icon="times" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" data-fa-i2svg="">
|
|
6193
|
-
<path fill="currentColor" d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"></path>
|
|
6194
|
-
</svg>
|
|
6195
|
-
</a>
|
|
6196
|
-
</div>
|
|
6197
|
-
<div class="custom-slider__message">
|
|
6198
|
-
<span class="icon-wrap success">
|
|
6199
|
-
<svg class="svg-inline--fa fa-check-circle fa-w-16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg><!-- <i class="fas fa-check-circle"></i> Font Awesome fontawesome.com -->
|
|
6200
|
-
</span>
|
|
6201
|
-
|
|
6202
|
-
<div class="messages popover-mini-basket__added">
|
|
6203
|
-
<p class="messages__text">
|
|
6204
|
-
<span>
|
|
6205
|
-
You've just added</span>
|
|
6206
|
-
</p>
|
|
6207
|
-
|
|
6208
|
-
<span class="messages__notice">
|
|
6209
|
-
Excluding items already in basket</span>
|
|
6210
|
-
</div>
|
|
6211
|
-
</div>
|
|
6212
|
-
<div class="products popover-mini-basket__cards-holder">
|
|
6213
|
-
<div class="card product-card-preview">
|
|
6214
|
-
<div class="products__item card__inner" data-name="Blue Circle Ready To Use Postcrete - 20kg" data-id="221100" data-price="7.50" data-brand="Blue Circle" data-category="Building Materials/Cement & Aggregates/Cement" data-position="0">
|
|
6215
|
-
<a href="/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100" class="card__img-wrap card__img-wrap_link products__image">
|
|
6216
|
-
<img loading="lazy" class="product-img" src="//media.wickes.co.uk/is/image/wickes/B3182_221100_00?$thumbnail$" alt="Blue Circle Ready To Use Postcrete - 20kg" title="Blue Circle Ready To Use Postcrete - 20kg">
|
|
6217
|
-
</a>
|
|
6218
|
-
|
|
6219
|
-
<div class="products__details">
|
|
6220
|
-
<a href="/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100" class="title product-card__title">Blue Circle Ready To Use Postcrete - 20kg</a>
|
|
6221
|
-
<p class="item">Added for delivery</p>
|
|
6222
|
-
<p class="item pdp-price__control-holder">Qty:
|
|
6223
|
-
<span class="value product-card__quantity-value">1</span>
|
|
6224
|
-
</p>
|
|
6225
|
-
<p class="price product-card__price-value">£7.50</p>
|
|
6226
|
-
</div>
|
|
6227
|
-
</div>
|
|
6228
|
-
</div>
|
|
6229
|
-
</div>
|
|
6230
|
-
<div class="custom-slider__content">
|
|
6231
|
-
<p>Product description Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar sic tempor. Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus pronin sapien nunc accuan eget. Product description Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar sic tempor. Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus pronin sapien nunc accuan eget.</p>
|
|
6232
|
-
</div>
|
|
6233
|
-
</div>
|
|
6234
|
-
<div class="custom-slider__footer">
|
|
6235
|
-
<button class="btn btn_full btn-secondary close-popup">Continue Shopping</button>
|
|
6236
|
-
<a href="/cart" class="btn btn-action btn_full btn-view-basket-cta" type="button">View Basket</a>
|
|
6237
|
-
</div>
|
|
6238
|
-
`
|
|
6150
|
+
]
|
|
6239
6151
|
}
|
|
6240
6152
|
|
|
6241
6153
|
function getOrdersHtmlByCurrentPage({currentPage}) {
|
|
@@ -6280,20 +6192,32 @@ $(document).ready(function () {
|
|
|
6280
6192
|
initMyOrdersEvent();
|
|
6281
6193
|
});
|
|
6282
6194
|
|
|
6283
|
-
const paymentLoader
|
|
6284
|
-
const paymentLoaderHideClass
|
|
6285
|
-
const
|
|
6286
|
-
const
|
|
6287
|
-
|
|
6195
|
+
const paymentLoader= '.payment-loader';
|
|
6196
|
+
const paymentLoaderHideClass= 'payment-loader--hidden';
|
|
6197
|
+
const paymentLoaderModal = '.payment-loader__modal'
|
|
6198
|
+
const paymentTypeSelectors = {
|
|
6199
|
+
apple: '.apple__button',
|
|
6200
|
+
google: '.google__button',
|
|
6201
|
+
clearpay: '#checkout-payment-details-clearpay',
|
|
6202
|
+
billie: '#checkout-payment-details-billie, .billie__button',
|
|
6203
|
+
paypal: '#checkout-payment-details-paypal'
|
|
6204
|
+
};
|
|
6288
6205
|
|
|
6289
|
-
|
|
6206
|
+
function showPaymentLoader(paymentType) {
|
|
6207
|
+
$(paymentLoader).find(`${paymentLoaderModal} > div`).hide();
|
|
6208
|
+
$(`.${paymentType}-checkout-logo`).show();
|
|
6209
|
+
$(`${paymentLoader} .spinner`).show();
|
|
6290
6210
|
$(paymentLoader).removeClass(paymentLoaderHideClass);
|
|
6291
|
-
setTimeout(() => $(paymentLoader).addClass(paymentLoaderHideClass), 1000);
|
|
6292
|
-
};
|
|
6293
6211
|
|
|
6294
|
-
|
|
6295
|
-
$(
|
|
6296
|
-
|
|
6212
|
+
setTimeout(() => {
|
|
6213
|
+
$(paymentLoader).addClass(paymentLoaderHideClass);
|
|
6214
|
+
}, 1000);
|
|
6215
|
+
}
|
|
6216
|
+
|
|
6217
|
+
Object.entries(paymentTypeSelectors).forEach(([type, triggerSelector]) => {
|
|
6218
|
+
$(document).on('click', triggerSelector, () => showPaymentLoader(type));
|
|
6219
|
+
});
|
|
6220
|
+
|
|
6297
6221
|
var Wick = Wick || {};
|
|
6298
6222
|
|
|
6299
6223
|
Wick.pdfFileLoader = {
|
|
@@ -6622,8 +6546,8 @@ Wick.MiniBasket = (function() {
|
|
|
6622
6546
|
});
|
|
6623
6547
|
},
|
|
6624
6548
|
bindEvents: function(){
|
|
6625
|
-
|
|
6626
|
-
|
|
6549
|
+
this._bindEvents();
|
|
6550
|
+
this._bindTouchEvents();
|
|
6627
6551
|
},
|
|
6628
6552
|
enable: function(){
|
|
6629
6553
|
rollover.isDisabled = false;
|