wickes-css2 2.111.0-develop.1 → 2.111.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-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/pdp-main-before-combine.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/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +95 -10
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/page/basket-v2.js +11 -18
- package/build/js/page/components/discounts.js +15 -8
- package/build/js/page/components/mini-basket-slider.js +18 -24
- package/build/js/page/components/voucher.js +56 -2
- 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 +1 -1
- package/src/components/cart-voucher.hbs +4 -4
- package/src/components/checkout-voucher-remove-modal.hbs +16 -0
- package/src/components/mini-basket/mini-basket-order-item.hbs +4 -4
- package/src/components/tradepro-discount-banner.hbs +8 -0
- package/src/components/wismo-payment.hbs +50 -7
- package/src/data/data_delivery-address-v2.json +6 -6
- package/src/data/data_discounts.json +6 -6
- package/src/data/data_shopping-cart-v2.json +32 -11
- package/src/data/data_shopping-cart-with-energy.json +12 -12
- package/src/data/data_wismo.json +2 -1
- package/src/js/components/general/switchVat.js +9 -7
- package/src/js/components/general/tradepro-discount-banner.js +69 -0
- package/src/js/emulation/basket-data.js +11 -1
- package/src/js/emulation/checkout-data.js +3 -0
- package/src/js/emulation/mini-basket-data.js +68 -0
- package/src/js/emulation/tradepro-discount-banner-emulation.js +13 -0
- package/src/js/page/basket-v2.js +11 -18
- package/src/js/page/components/discounts.js +15 -8
- package/src/js/page/components/mini-basket-slider.js +18 -24
- package/src/js/page/components/voucher.js +56 -2
- package/src/layouts/checkout.hbs +1 -0
- package/src/page_basket-energy-efficiency.html +4 -0
- package/src/page_checkout_confirmation-new-marketing-consent-error.html +7 -0
- package/src/page_checkout_confirmation-new-marketing-consent.html +4 -0
- package/src/page_checkout_delivery-address-v2.html +4 -0
- package/src/page_checkout_delivery-details-v2-asm.html +7 -1
- package/src/page_checkout_delivery-details-v2-calendar-message.html +4 -0
- package/src/page_checkout_delivery-details-v2-oos.html +4 -0
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +4 -0
- package/src/page_checkout_delivery-details-v2-wisdom.html +4 -0
- package/src/page_checkout_delivery-details-with-loader-v2.html +4 -0
- package/src/page_checkout_delivery-details_guest-new.html +4 -0
- package/src/page_checkout_delivery_address-asm-new.html +4 -0
- package/src/page_checkout_merge-basket-v2.html +6 -3
- package/src/page_checkout_merge-basket-vat-v2.html +6 -1
- package/src/page_checkout_merge-basket-with-energy.html +4 -0
- package/src/page_checkout_next-day-delivery-details.html +4 -0
- package/src/page_checkout_payment-details-v2-asm.html +4 -0
- package/src/page_checkout_payment-details-v2.html +4 -0
- package/src/page_checkout_payment-details_guest-click-collect-icon.html +4 -0
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +7 -0
- package/src/page_checkout_payment-details_login-with-checkout-journey.html +7 -0
- package/src/page_checkout_payment-details_with-card-loader.html +4 -0
- package/src/page_checkout_payment-details_with-loader-v2.html +4 -0
- package/src/page_checkout_rapid-delivery-details.html +4 -0
- package/src/page_empty-basket-instore.html +4 -0
- package/src/page_homepage-with-global-search-v2-vat.html +1 -0
- package/src/page_instore_progress_bar.html +4 -0
- package/src/page_product-details-with-global-search-v2.html +1 -0
- package/src/page_shopping-cart-registered-v2.html +4 -0
- package/src/page_shopping-cart-v2-vat.html +6 -0
- package/src/page_shopping-cart-v2.html +5 -2
- package/src/page_shopping-cart-v3-instore.html +4 -0
- package/src/scss/components/_checkout-voucher-remove-modal.scss +108 -0
- package/src/scss/components/_tradepro-discount-banner.scss +78 -0
- package/src/scss/components/global-search.scss +11 -0
- package/src/scss/globals/_global-components.scss +1 -0
- package/src/scss/main.scss +2 -0
|
@@ -1966,6 +1966,8 @@ Wick.BasketData = function () {
|
|
|
1966
1966
|
discounts: ['Spend over £10 and get £2 fixed discount'],
|
|
1967
1967
|
promotionsInfo: [{
|
|
1968
1968
|
description: 'Spend over £10 and get £2 fixed discount',
|
|
1969
|
+
displayDescription: 'Spend over £10 and get £2 fixed discount',
|
|
1970
|
+
displayDescriptionExclusiveVat: 'Spend over £10 and get £1.67 fixed discount (ex. VAT)',
|
|
1969
1971
|
usedCouponCode: 'RT_02'
|
|
1970
1972
|
}],
|
|
1971
1973
|
subTotalWithDeliveryCost: '£69.00',
|
|
@@ -2845,7 +2847,11 @@ Wick.BasketData = function () {
|
|
|
2845
2847
|
potentialProductPromotions: [],
|
|
2846
2848
|
appliedProductPromotions: [],
|
|
2847
2849
|
appliedOrderPromotions: [],
|
|
2848
|
-
promotionsInfo:
|
|
2850
|
+
promotionsInfo: [{
|
|
2851
|
+
description: 'Spend over £10 and get £2 fixed discount',
|
|
2852
|
+
displayDescription: 'Spend over £10 and get £2 fixed discount',
|
|
2853
|
+
displayDescriptionExclusiveVat: 'Spend over £10 and get £1.67 fixed discount (ex. VAT)'
|
|
2854
|
+
}],
|
|
2849
2855
|
clickAndCollectOnly: false,
|
|
2850
2856
|
deliveryItemsQuantity: 1,
|
|
2851
2857
|
pickupItemsQuantity: 2,
|
|
@@ -4929,6 +4935,8 @@ Wick.CheckoutData = function () {
|
|
|
4929
4935
|
discounts: ['Spend over £10 and get £2 fixed discount'],
|
|
4930
4936
|
promotionsInfo: [{
|
|
4931
4937
|
description: 'Spend over £10 and get £2 fixed discount',
|
|
4938
|
+
displayDescription: 'Spend over £10 and get £2 fixed discount',
|
|
4939
|
+
displayDescriptionExclusiveVat: 'Spend over £10 and get £1.67 fixed discount (ex. VAT)',
|
|
4932
4940
|
usedCouponCode: 'RT_02'
|
|
4933
4941
|
}],
|
|
4934
4942
|
subTotalWithDeliveryCost: '£69.00',
|
|
@@ -5623,7 +5631,7 @@ function waitFor(getter, cb, opts) {
|
|
|
5623
5631
|
});
|
|
5624
5632
|
})();
|
|
5625
5633
|
|
|
5626
|
-
},{"../page/utils/show-more-less":
|
|
5634
|
+
},{"../page/utils/show-more-less":95}],50:[function(require,module,exports){
|
|
5627
5635
|
"use strict";
|
|
5628
5636
|
|
|
5629
5637
|
var Wick = Wick || {};
|
|
@@ -12092,6 +12100,18 @@ Wick.MiniBasketData = function () {
|
|
|
12092
12100
|
currencyIso: 'GBP',
|
|
12093
12101
|
formattedPriceWithoutCurrencySymbol: '10'
|
|
12094
12102
|
},
|
|
12103
|
+
displayBasePrice: {
|
|
12104
|
+
value: 90.0,
|
|
12105
|
+
formattedValue: '£90.00',
|
|
12106
|
+
currencyIso: 'GBP',
|
|
12107
|
+
formattedPriceWithoutCurrencySymbol: '90.00'
|
|
12108
|
+
},
|
|
12109
|
+
displayBasePriceExclusiveVat: {
|
|
12110
|
+
value: 75.0,
|
|
12111
|
+
formattedValue: '£75.00',
|
|
12112
|
+
currencyIso: 'GBP',
|
|
12113
|
+
formattedPriceWithoutCurrencySymbol: '75.00'
|
|
12114
|
+
},
|
|
12095
12115
|
product: {
|
|
12096
12116
|
code: '221100',
|
|
12097
12117
|
name: 'Blue Circle Ready To Use Postcrete - 20kg',
|
|
@@ -12172,6 +12192,18 @@ Wick.MiniBasketData = function () {
|
|
|
12172
12192
|
currencyIso: 'GBP',
|
|
12173
12193
|
formattedPriceWithoutCurrencySymbol: '9'
|
|
12174
12194
|
},
|
|
12195
|
+
displayBasePrice: {
|
|
12196
|
+
value: 8.1,
|
|
12197
|
+
formattedValue: '£8.10',
|
|
12198
|
+
currencyIso: 'GBP',
|
|
12199
|
+
formattedPriceWithoutCurrencySymbol: '8.10'
|
|
12200
|
+
},
|
|
12201
|
+
displayBasePriceExclusiveVat: {
|
|
12202
|
+
value: 6.75,
|
|
12203
|
+
formattedValue: '£6.75',
|
|
12204
|
+
currencyIso: 'GBP',
|
|
12205
|
+
formattedPriceWithoutCurrencySymbol: '6.75'
|
|
12206
|
+
},
|
|
12175
12207
|
product: {
|
|
12176
12208
|
code: '109450',
|
|
12177
12209
|
name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
|
|
@@ -12250,6 +12282,18 @@ Wick.MiniBasketData = function () {
|
|
|
12250
12282
|
currencyIso: 'GBP',
|
|
12251
12283
|
formattedPriceWithoutCurrencySymbol: '8'
|
|
12252
12284
|
},
|
|
12285
|
+
displayBasePrice: {
|
|
12286
|
+
value: 22.5,
|
|
12287
|
+
formattedValue: '£22.50',
|
|
12288
|
+
currencyIso: 'GBP',
|
|
12289
|
+
formattedPriceWithoutCurrencySymbol: '22.50'
|
|
12290
|
+
},
|
|
12291
|
+
displayBasePriceExclusiveVat: {
|
|
12292
|
+
value: 18.75,
|
|
12293
|
+
formattedValue: '£18.75',
|
|
12294
|
+
currencyIso: 'GBP',
|
|
12295
|
+
formattedPriceWithoutCurrencySymbol: '18.75'
|
|
12296
|
+
},
|
|
12253
12297
|
product: {
|
|
12254
12298
|
code: '123143',
|
|
12255
12299
|
name: '6 Wickes General Purpose Claw test',
|
|
@@ -12432,6 +12476,8 @@ Wick.MiniBasketData = function () {
|
|
|
12432
12476
|
},
|
|
12433
12477
|
potentialProductPromotions: [{
|
|
12434
12478
|
description: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
12479
|
+
displayDescription: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
12480
|
+
displayDescriptionExclusiveVat: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
12435
12481
|
promotionData: {
|
|
12436
12482
|
code: 'TD_ProductBOGOFPromotionPotential',
|
|
12437
12483
|
title: null,
|
|
@@ -12450,6 +12496,8 @@ Wick.MiniBasketData = function () {
|
|
|
12450
12496
|
}],
|
|
12451
12497
|
appliedProductPromotions: [{
|
|
12452
12498
|
description: 'These item qualify for our buy 3 get 1 free offer - You have saved £36.00',
|
|
12499
|
+
displayDescription: 'These item qualify for our buy 3 get 1 free offer - You have saved £36.00',
|
|
12500
|
+
displayDescriptionExclusiveVat: 'These item qualify for our buy 3 get 1 free offer - You have saved £30.00 Exc.VAT',
|
|
12453
12501
|
promotionData: {
|
|
12454
12502
|
code: 'TD_ProductBOGOFPromotion',
|
|
12455
12503
|
title: null,
|
|
@@ -12472,6 +12520,7 @@ Wick.MiniBasketData = function () {
|
|
|
12472
12520
|
appliedOrderPromotions: [],
|
|
12473
12521
|
promotionsInfo: [{
|
|
12474
12522
|
description: 'Buy 3 get 1 free',
|
|
12523
|
+
displayDescription: 'Buy 3 get 1 free',
|
|
12475
12524
|
usedCouponCode: ''
|
|
12476
12525
|
}],
|
|
12477
12526
|
clickAndCollectOnly: false,
|
|
@@ -12501,6 +12550,18 @@ Wick.MiniBasketData = function () {
|
|
|
12501
12550
|
currencyIso: 'GBP',
|
|
12502
12551
|
formattedPriceWithoutCurrencySymbol: '18'
|
|
12503
12552
|
},
|
|
12553
|
+
displayBasePrice: {
|
|
12554
|
+
value: 14.4,
|
|
12555
|
+
formattedValue: '£14.40',
|
|
12556
|
+
currencyIso: 'GBP',
|
|
12557
|
+
formattedPriceWithoutCurrencySymbol: '14.40'
|
|
12558
|
+
},
|
|
12559
|
+
displayBasePriceExclusiveVat: {
|
|
12560
|
+
value: 12.0,
|
|
12561
|
+
formattedValue: '£12.00',
|
|
12562
|
+
currencyIso: 'GBP',
|
|
12563
|
+
formattedPriceWithoutCurrencySymbol: '12.00'
|
|
12564
|
+
},
|
|
12504
12565
|
product: {
|
|
12505
12566
|
code: '109450',
|
|
12506
12567
|
name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
|
|
@@ -12579,6 +12640,18 @@ Wick.MiniBasketData = function () {
|
|
|
12579
12640
|
currencyIso: 'GBP',
|
|
12580
12641
|
formattedPriceWithoutCurrencySymbol: '24'
|
|
12581
12642
|
},
|
|
12643
|
+
displayBasePrice: {
|
|
12644
|
+
value: 22.5,
|
|
12645
|
+
formattedValue: '£22.50',
|
|
12646
|
+
currencyIso: 'GBP',
|
|
12647
|
+
formattedPriceWithoutCurrencySymbol: '22.50'
|
|
12648
|
+
},
|
|
12649
|
+
displayBasePriceExclusiveVat: {
|
|
12650
|
+
value: 18.75,
|
|
12651
|
+
formattedValue: '£18.75',
|
|
12652
|
+
currencyIso: 'GBP',
|
|
12653
|
+
formattedPriceWithoutCurrencySymbol: '18.75'
|
|
12654
|
+
},
|
|
12582
12655
|
product: {
|
|
12583
12656
|
code: '109451',
|
|
12584
12657
|
name: 'Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²',
|
|
@@ -14094,7 +14167,7 @@ $(document).ready(function () {
|
|
|
14094
14167
|
initStoreLocatorLoadMore();
|
|
14095
14168
|
});
|
|
14096
14169
|
|
|
14097
|
-
},{"../page/utils/loader":
|
|
14170
|
+
},{"../page/utils/loader":94}],86:[function(require,module,exports){
|
|
14098
14171
|
"use strict";
|
|
14099
14172
|
|
|
14100
14173
|
var Wick = window.Wick || {};
|
|
@@ -14160,6 +14233,18 @@ $(document).ready(function () {
|
|
|
14160
14233
|
},{}],88:[function(require,module,exports){
|
|
14161
14234
|
"use strict";
|
|
14162
14235
|
|
|
14236
|
+
var Wick = window.Wick || {};
|
|
14237
|
+
$(document).ready(function () {
|
|
14238
|
+
var href = window.location.href;
|
|
14239
|
+
var isTargetPage = href.indexOf('page_homepage-with-global-search-v2-vat') > -1 || href.indexOf('page_checkout_delivery-details-v2-asm') > -1 || href.indexOf('page_product-details-with-global-search-v2') > -1;
|
|
14240
|
+
if (isTargetPage && Wick.TradeProDiscountBanner && !Wick.TradeProDiscountBanner.isOn()) {
|
|
14241
|
+
Wick.TradeProDiscountBanner.init();
|
|
14242
|
+
}
|
|
14243
|
+
});
|
|
14244
|
+
|
|
14245
|
+
},{}],89:[function(require,module,exports){
|
|
14246
|
+
"use strict";
|
|
14247
|
+
|
|
14163
14248
|
var Wick = Wick || {};
|
|
14164
14249
|
Wick.User = function () {
|
|
14165
14250
|
function isLoggedIn() {
|
|
@@ -14195,7 +14280,7 @@ Wick.User = function () {
|
|
|
14195
14280
|
};
|
|
14196
14281
|
}();
|
|
14197
14282
|
|
|
14198
|
-
},{}],
|
|
14283
|
+
},{}],90:[function(require,module,exports){
|
|
14199
14284
|
"use strict";
|
|
14200
14285
|
|
|
14201
14286
|
var suppressQuantityReportValidityOnBlur = false;
|
|
@@ -14222,14 +14307,14 @@ $(document).off('keydown.quantityValidation', '#quantity-field').on('keydown.qua
|
|
|
14222
14307
|
}, 150);
|
|
14223
14308
|
});
|
|
14224
14309
|
|
|
14225
|
-
},{}],
|
|
14310
|
+
},{}],91:[function(require,module,exports){
|
|
14226
14311
|
"use strict";
|
|
14227
14312
|
|
|
14228
14313
|
window.ACC = window.ACC || {};
|
|
14229
14314
|
window.ACC.app = window.ACC.app || {};
|
|
14230
14315
|
window.ACC.app.isVatToggleAvailable = !!$('.switch-vat input').length;
|
|
14231
14316
|
|
|
14232
|
-
},{}],
|
|
14317
|
+
},{}],92:[function(require,module,exports){
|
|
14233
14318
|
"use strict";
|
|
14234
14319
|
|
|
14235
14320
|
var Wick = window.Wick = window.Wick || {};
|
|
@@ -14261,7 +14346,7 @@ Wick.Wismo = function () {
|
|
|
14261
14346
|
});
|
|
14262
14347
|
}();
|
|
14263
14348
|
|
|
14264
|
-
},{}],
|
|
14349
|
+
},{}],93:[function(require,module,exports){
|
|
14265
14350
|
"use strict";
|
|
14266
14351
|
|
|
14267
14352
|
var Wick = Wick || {};
|
|
@@ -14340,7 +14425,7 @@ Wick.YourDetails = function () {
|
|
|
14340
14425
|
});
|
|
14341
14426
|
}();
|
|
14342
14427
|
|
|
14343
|
-
},{}],
|
|
14428
|
+
},{}],94:[function(require,module,exports){
|
|
14344
14429
|
"use strict";
|
|
14345
14430
|
|
|
14346
14431
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -14366,7 +14451,7 @@ function hideLoader(loaderSelector) {
|
|
|
14366
14451
|
$(defineLoaderWrapper(loaderSelector)).addClass(HIDDEN_CLASS_NAME);
|
|
14367
14452
|
}
|
|
14368
14453
|
|
|
14369
|
-
},{"../../../elements/loader.hbs":25}],
|
|
14454
|
+
},{"../../../elements/loader.hbs":25}],95:[function(require,module,exports){
|
|
14370
14455
|
"use strict";
|
|
14371
14456
|
|
|
14372
14457
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -14603,4 +14688,4 @@ function createShowMoreLess() {
|
|
|
14603
14688
|
};
|
|
14604
14689
|
}
|
|
14605
14690
|
|
|
14606
|
-
},{"../../../elements/btn.hbs":24}]},{},[26,27,28,29,30,31,32,33,34,35,36,37,42,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92]);
|
|
14691
|
+
},{"../../../elements/btn.hbs":24}]},{},[26,27,28,29,30,31,32,33,34,35,36,37,42,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93]);
|