wickes-css2 2.111.0-complete-your-project.9 → 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/pages/page_personal-details.css +1 -1
- package/build/css/pages/page_product-details-v2.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-hub.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/emulation.min.js +146 -2870
- 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/page/utils/create-count-stepper.js +9 -30
- package/build/js/pdp-count-stepper.min.js +1 -1
- 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/build/js/saving-shopping-list.min.js +1 -1
- package/package.json +1 -1
- package/src/components/base/button.hbs +5 -23
- package/src/components/cart-voucher.hbs +4 -4
- package/src/components/checkout-voucher-remove-modal.hbs +16 -0
- package/src/components/gift-cards.hbs +1 -1
- 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/elements/checkbox.hbs +1 -8
- package/src/js/components/general/cart-slider.js +6 -19
- 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/mock.js +1 -3098
- package/src/js/emulation/notify-me.js +1 -1
- 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/js/page/utils/create-count-stepper.js +9 -30
- 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-banner.html +1 -0
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -0
- package/src/page_product-details-big-wins-non-registered.html +1 -0
- package/src/page_product-details-big-wins-out-nearest.html +1 -0
- package/src/page_product-details-big-wins-unhappy.html +1 -0
- package/src/page_product-details-big-wins.html +1 -0
- package/src/page_product-details-billie.html +1 -0
- package/src/page_product-details-calculator.html +1 -0
- package/src/page_product-details-cashback-v2.html +1 -0
- package/src/page_product-details-clearpay.html +1 -0
- package/src/page_product-details-cnc-error-notification.html +1 -0
- package/src/page_product-details-cnc-success-notification-vat.html +1 -0
- package/src/page_product-details-cnc-success-notification.html +1 -0
- package/src/page_product-details-default-store.html +1 -0
- package/src/page_product-details-energy-efficiency.html +1 -0
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -0
- package/src/page_product-details-flooring.html +1 -0
- package/src/page_product-details-gallery-actual.html +1 -0
- package/src/page_product-details-mfe-calculator.html +1 -0
- package/src/page_product-details-minimum-v2.html +1 -0
- package/src/page_product-details-mtm-doors.html +1 -0
- package/src/page_product-details-only-clearpay.html +1 -0
- package/src/page_product-details-paint-mixing.html +1 -0
- package/src/page_product-details-saved-pl.html +1 -0
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -0
- package/src/page_product-details-tile-steps-logout.html +1 -0
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -0
- package/src/page_product-details-tile-steps-with-klarna.html +1 -0
- package/src/page_product-details-tile-steps.html +1 -0
- package/src/page_product-details-v2.html +1 -0
- package/src/page_product-details-vat.html +1 -0
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -0
- package/src/page_product-details-wisdom-mcfc.html +1 -0
- package/src/page_product-details-wisdom-oos-registered.html +1 -0
- package/src/page_product-details-wisdom-oos.html +1 -0
- package/src/page_product-details-wisdom-registered.html +1 -0
- package/src/page_product-details-wisdom.html +1 -0
- package/src/page_product-details-with-favourite.html +1 -0
- package/src/page_product-details-with-global-search-v2.html +2 -7
- package/src/page_product-details_no-previous-default.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/page_track-my-order-result.html +0 -1
- package/src/partials/scripts.hbs +0 -1
- package/src/scss/common/_common.scss +0 -1
- package/src/scss/common/_elements.scss +1 -13
- package/src/scss/components/_checkout-voucher-remove-modal.scss +108 -0
- package/src/scss/components/_notifications.scss +5 -86
- package/src/scss/components/_pdp-action-v2-critical.scss +27 -0
- package/src/scss/components/_pdp-action-v2.scss +27 -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/helpers/_variables.scss +0 -1
- package/src/scss/main.scss +2 -0
- package/src/scss/pages/page_product-details-v2.scss +2 -45
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +1 -1
- package/src/sitemap.html +0 -6
- package/build/js/bloomreach-widget.min.js +0 -1
- package/build/js/page/bloomreach-widget.js +0 -1213
- package/build/js/page/utils/create-loading-button.js +0 -37
- package/build/js/page/utils/create-toast.js +0 -79
- package/build/js/page/utils/custom-dropdown.js +0 -80
- package/src/components/bloomreach/complete-card-dropdown.hbs +0 -47
- package/src/components/bloomreach/complete-card-skeleton.hbs +0 -19
- package/src/components/bloomreach/complete-card.hbs +0 -138
- package/src/components/bloomreach/complete-divider.hbs +0 -3
- package/src/components/bloomreach/complete-summary-skeleton.hbs +0 -12
- package/src/components/bloomreach/complete-summary.hbs +0 -43
- package/src/components/bloomreach/complete-wrapper.hbs +0 -1
- package/src/components/bloomreach/complete-your-project.hbs +0 -21
- package/src/js/emulation/bloomreach-widget-calculations.js +0 -140
- package/src/js/emulation/bloomreach-widget-loading.js +0 -11
- package/src/js/page/bloomreach-widget.js +0 -1213
- package/src/js/page/utils/create-loading-button.js +0 -37
- package/src/js/page/utils/create-toast.js +0 -79
- package/src/js/page/utils/custom-dropdown.js +0 -80
- package/src/page_product-details-bloomreach.html +0 -130
- package/src/scss/common/_loading-button.scss +0 -49
- package/src/scss/components/bloomreach/_bloomreach.scss +0 -3
- package/src/scss/components/bloomreach/_complete-card-dropdown.scss +0 -174
- package/src/scss/components/bloomreach/_complete-card.scss +0 -408
- package/src/scss/components/bloomreach/_complete-your-project.scss +0 -207
|
@@ -42,24 +42,24 @@
|
|
|
42
42
|
],
|
|
43
43
|
"discounts": [
|
|
44
44
|
{
|
|
45
|
-
"
|
|
45
|
+
"displayDescription": "Voucher abcd applies and giving 20% off",
|
|
46
46
|
"isDeletable": true
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
"
|
|
49
|
+
"displayDescription": "Voucher 20% off",
|
|
50
50
|
"isDeletable": true
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"
|
|
53
|
+
"displayDescription": "Buy 4 for 3"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"
|
|
56
|
+
"displayDescription": "Online only offer"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"
|
|
59
|
+
"displayDescription": "2 for £35"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
"
|
|
62
|
+
"displayDescription": "Offer price equivalent to £17.50 per item"
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
65
|
"total": {
|
|
@@ -749,24 +749,24 @@
|
|
|
749
749
|
],
|
|
750
750
|
"discounts": [
|
|
751
751
|
{
|
|
752
|
-
"
|
|
752
|
+
"displayDescription": "Voucher abcd applies and giving 20% off",
|
|
753
753
|
"isDeletable": true
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
|
-
"
|
|
756
|
+
"displayDescription": "Voucher 20% off",
|
|
757
757
|
"isDeletable": true
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
|
-
"
|
|
760
|
+
"displayDescription": "Buy 4 for 3"
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
|
-
"
|
|
763
|
+
"displayDescription": "Online only offer"
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
|
-
"
|
|
766
|
+
"displayDescription": "2 for £35"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
"
|
|
769
|
+
"displayDescription": "Offer price equivalent to £17.50 per item"
|
|
770
770
|
}
|
|
771
771
|
],
|
|
772
772
|
"total": {
|
package/src/data/data_wismo.json
CHANGED
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"name": "Voucher:",
|
|
71
|
-
"value": "
|
|
71
|
+
"value": "<div>Wickes TradePro 10% Saving</div><div>20% off <br> Discount applied at checkout</div><div>Buy 3 get 1 free</div><div>Buy 2 for £30 <br>Not Available for Mix & Match</div><div>Buy 2 get 1 free <br>Not Available for Mix & Match</div><div>Buy any Product_103178 or 542003 with any Product_543265 or 148268 & save up to £6.5</div>",
|
|
72
|
+
"valueExcVat": "<div>Wickes TradePro 10% Saving</div><div>20% off <br> Discount applied at checkout</div><div>Buy 3 get 1 free</div><div>Buy 2 for £25 <br>Not Available for Mix & Match</div><div>Buy 2 get 1 free <br>Not Available for Mix & Match</div><div>Buy any Product_103178 or 542003 with any Product_543265 or 148268 & save up to £5.42</div>"
|
|
72
73
|
}
|
|
73
74
|
]
|
|
74
75
|
},
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
<label
|
|
2
|
-
for="{{id}}"
|
|
3
|
-
class="chb
|
|
4
|
-
{{#if required}}form-row__label_required{{/if}}
|
|
5
|
-
{{#if inactive-message}}chb-inactive{{/if}}
|
|
6
|
-
{{#if action}}chb--action{{/if}}
|
|
7
|
-
"
|
|
8
|
-
>
|
|
1
|
+
<label for="{{id}}" class="chb {{#if required}}form-row__label_required{{/if}} {{#if inactive-message}}chb-inactive{{/if}}">
|
|
9
2
|
<input
|
|
10
3
|
type="checkbox"
|
|
11
4
|
value="{{value}}"
|
|
@@ -5,30 +5,17 @@ createPopupSlider({
|
|
|
5
5
|
sliderSelector: '.custom-slider.just-added',
|
|
6
6
|
onAppendEvent: 'productAddedToCart',
|
|
7
7
|
onAppend: function (event, { showSlider, handleScroll, el }) {
|
|
8
|
-
Wick.MiniBasketSliderFE.isMiniBasketLoaded = false;
|
|
9
|
-
|
|
10
|
-
if (event.detail.bulkAddToCartData) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
8
|
if (!$('.custom-slider.just-added').length) {
|
|
15
9
|
$('body').append(cartSliderHTML);
|
|
16
10
|
}
|
|
17
|
-
|
|
18
11
|
const htmlContent = event.detail.html;
|
|
19
|
-
|
|
20
|
-
if (htmlContent) {
|
|
21
|
-
$(el.slider).append(htmlContent);
|
|
22
|
-
}
|
|
23
|
-
|
|
12
|
+
$(el.slider).append(htmlContent);
|
|
24
13
|
showSlider();
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
31
|
-
}
|
|
14
|
+
Wick.MiniBasketSliderFE.isMiniBasketLoaded = false;
|
|
15
|
+
$(el.sliderWrap).on(
|
|
16
|
+
'scroll',
|
|
17
|
+
_.debounce(() => handleScroll(el.sliderWrap), 100)
|
|
18
|
+
);
|
|
32
19
|
},
|
|
33
20
|
onClose: function () {
|
|
34
21
|
Wick.MiniBasketSliderFE.cartEntries = [];
|
|
@@ -61,6 +61,14 @@ Wick.VatToggle = {
|
|
|
61
61
|
return !!Wick.VatToggle.getCookie(Wick.VatToggle.VAT_COOKIE);
|
|
62
62
|
},
|
|
63
63
|
|
|
64
|
+
isActive: function () {
|
|
65
|
+
if (Wick.VatToggle.getSwitcherState() !== null) {
|
|
66
|
+
return Wick.VatToggle.getSwitcherState();
|
|
67
|
+
} else {
|
|
68
|
+
return Wick.VatToggle.isOn();
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
|
|
64
72
|
toggleDisplayClass: function () {
|
|
65
73
|
const includingVatEl = Wick.VatToggle.el.includingVat;
|
|
66
74
|
const excludingVat = Wick.VatToggle.el.excludingVat;
|
|
@@ -74,14 +82,8 @@ Wick.VatToggle = {
|
|
|
74
82
|
const excludingVatEl = Wick.VatToggle.el.excludingVat;
|
|
75
83
|
const hiddenClassName = Wick.VatToggle.HIDDEN_CLASS_NAME;
|
|
76
84
|
|
|
77
|
-
let vatState = null;
|
|
78
|
-
|
|
79
85
|
// check switcher state for web or cookie for app
|
|
80
|
-
|
|
81
|
-
vatState = Wick.VatToggle.getSwitcherState();
|
|
82
|
-
} else {
|
|
83
|
-
vatState = Wick.VatToggle.isOn();
|
|
84
|
-
}
|
|
86
|
+
const vatState = Wick.VatToggle.isActive();
|
|
85
87
|
|
|
86
88
|
if (vatState) {
|
|
87
89
|
$(includingVatEl).addClass(hiddenClassName);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var Wick = Wick || {};
|
|
2
|
+
|
|
3
|
+
Wick.TradeProDiscountBanner = {
|
|
4
|
+
COOKIE_NAME: 'showTradeProPricingBanner',
|
|
5
|
+
BANNER_HTML: `
|
|
6
|
+
<div class="tradepro-discount-banner">
|
|
7
|
+
<span class="tradepro-discount-banner__content">
|
|
8
|
+
Your TradePro discount is already applied to all prices
|
|
9
|
+
</span>
|
|
10
|
+
<span class="icon notification__close notification__close_white notification__close_stripbanner">
|
|
11
|
+
<span class="fas fa-times"></span>
|
|
12
|
+
</span>
|
|
13
|
+
</div>`,
|
|
14
|
+
getCookie: function (cookieName) {
|
|
15
|
+
var cookie = decodeURIComponent(document.cookie)
|
|
16
|
+
.split(';')
|
|
17
|
+
.map(function (c) {
|
|
18
|
+
return c.trim();
|
|
19
|
+
})
|
|
20
|
+
.find(function (c) {
|
|
21
|
+
return c.startsWith(cookieName + '=');
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
return cookie ? cookie.replace(cookieName + '=', '') : '';
|
|
25
|
+
},
|
|
26
|
+
isOn: function () {
|
|
27
|
+
return (
|
|
28
|
+
Wick.TradeProDiscountBanner.getCookie(Wick.TradeProDiscountBanner.COOKIE_NAME) ===
|
|
29
|
+
'true'
|
|
30
|
+
);
|
|
31
|
+
},
|
|
32
|
+
turnOff: function () {
|
|
33
|
+
Wick.TradeProDiscountBanner.setCookie(Wick.TradeProDiscountBanner.COOKIE_NAME, 'false');
|
|
34
|
+
},
|
|
35
|
+
setCookie: function (cookieName, value) {
|
|
36
|
+
document.cookie =
|
|
37
|
+
cookieName + '=' + encodeURIComponent(value) + ';domain=.wickes.co.uk;path=/';
|
|
38
|
+
},
|
|
39
|
+
onClose: function (e) {
|
|
40
|
+
e.stopPropagation();
|
|
41
|
+
$('.tradepro-discount-banner').remove();
|
|
42
|
+
$('.global-search--has-tradepro-banner').removeClass('global-search--has-tradepro-banner');
|
|
43
|
+
Wick.TradeProDiscountBanner.turnOff();
|
|
44
|
+
},
|
|
45
|
+
bindEvents: function () {
|
|
46
|
+
$(document).on(
|
|
47
|
+
'click',
|
|
48
|
+
'.tradepro-discount-banner .notification__close',
|
|
49
|
+
Wick.TradeProDiscountBanner.onClose
|
|
50
|
+
);
|
|
51
|
+
},
|
|
52
|
+
init: function () {
|
|
53
|
+
Wick.TradeProDiscountBanner.bindEvents();
|
|
54
|
+
var $globalSearch = $('.header-global-search__content.global-search');
|
|
55
|
+
|
|
56
|
+
if ($globalSearch.length && !$globalSearch.find('.tradepro-discount-banner').length) {
|
|
57
|
+
$globalSearch.prepend(Wick.TradeProDiscountBanner.BANNER_HTML);
|
|
58
|
+
$globalSearch.addClass('global-search--has-tradepro-banner');
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
$(function () {
|
|
64
|
+
if (!Wick.TradeProDiscountBanner.isOn()) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
Wick.TradeProDiscountBanner.init();
|
|
69
|
+
});
|
|
@@ -20,6 +20,9 @@ Wick.BasketData = (function () {
|
|
|
20
20
|
promotionsInfo: [
|
|
21
21
|
{
|
|
22
22
|
description: 'Spend over £10 and get £2 fixed discount',
|
|
23
|
+
displayDescription: 'Spend over £10 and get £2 fixed discount',
|
|
24
|
+
displayDescriptionExclusiveVat:
|
|
25
|
+
'Spend over £10 and get £1.67 fixed discount (ex. VAT)',
|
|
23
26
|
usedCouponCode: 'RT_02',
|
|
24
27
|
},
|
|
25
28
|
],
|
|
@@ -949,7 +952,14 @@ Wick.BasketData = (function () {
|
|
|
949
952
|
potentialProductPromotions: [],
|
|
950
953
|
appliedProductPromotions: [],
|
|
951
954
|
appliedOrderPromotions: [],
|
|
952
|
-
promotionsInfo:
|
|
955
|
+
promotionsInfo: [
|
|
956
|
+
{
|
|
957
|
+
description: 'Spend over £10 and get £2 fixed discount',
|
|
958
|
+
displayDescription: 'Spend over £10 and get £2 fixed discount',
|
|
959
|
+
displayDescriptionExclusiveVat:
|
|
960
|
+
'Spend over £10 and get £1.67 fixed discount (ex. VAT)',
|
|
961
|
+
},
|
|
962
|
+
],
|
|
953
963
|
clickAndCollectOnly: false,
|
|
954
964
|
deliveryItemsQuantity: 1,
|
|
955
965
|
pickupItemsQuantity: 2,
|
|
@@ -19,6 +19,9 @@ Wick.CheckoutData = (function () {
|
|
|
19
19
|
promotionsInfo: [
|
|
20
20
|
{
|
|
21
21
|
description: 'Spend over £10 and get £2 fixed discount',
|
|
22
|
+
displayDescription: 'Spend over £10 and get £2 fixed discount',
|
|
23
|
+
displayDescriptionExclusiveVat:
|
|
24
|
+
'Spend over £10 and get £1.67 fixed discount (ex. VAT)',
|
|
22
25
|
usedCouponCode: 'RT_02',
|
|
23
26
|
},
|
|
24
27
|
],
|
|
@@ -460,6 +460,18 @@ Wick.MiniBasketData = (function () {
|
|
|
460
460
|
currencyIso: 'GBP',
|
|
461
461
|
formattedPriceWithoutCurrencySymbol: '10',
|
|
462
462
|
},
|
|
463
|
+
displayBasePrice: {
|
|
464
|
+
value: 90.0,
|
|
465
|
+
formattedValue: '£90.00',
|
|
466
|
+
currencyIso: 'GBP',
|
|
467
|
+
formattedPriceWithoutCurrencySymbol: '90.00',
|
|
468
|
+
},
|
|
469
|
+
displayBasePriceExclusiveVat: {
|
|
470
|
+
value: 75.0,
|
|
471
|
+
formattedValue: '£75.00',
|
|
472
|
+
currencyIso: 'GBP',
|
|
473
|
+
formattedPriceWithoutCurrencySymbol: '75.00',
|
|
474
|
+
},
|
|
463
475
|
product: {
|
|
464
476
|
code: '221100',
|
|
465
477
|
name: 'Blue Circle Ready To Use Postcrete - 20kg',
|
|
@@ -547,6 +559,18 @@ Wick.MiniBasketData = (function () {
|
|
|
547
559
|
currencyIso: 'GBP',
|
|
548
560
|
formattedPriceWithoutCurrencySymbol: '9',
|
|
549
561
|
},
|
|
562
|
+
displayBasePrice: {
|
|
563
|
+
value: 8.1,
|
|
564
|
+
formattedValue: '£8.10',
|
|
565
|
+
currencyIso: 'GBP',
|
|
566
|
+
formattedPriceWithoutCurrencySymbol: '8.10',
|
|
567
|
+
},
|
|
568
|
+
displayBasePriceExclusiveVat: {
|
|
569
|
+
value: 6.75,
|
|
570
|
+
formattedValue: '£6.75',
|
|
571
|
+
currencyIso: 'GBP',
|
|
572
|
+
formattedPriceWithoutCurrencySymbol: '6.75',
|
|
573
|
+
},
|
|
550
574
|
product: {
|
|
551
575
|
code: '109450',
|
|
552
576
|
name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
|
|
@@ -633,6 +657,18 @@ Wick.MiniBasketData = (function () {
|
|
|
633
657
|
currencyIso: 'GBP',
|
|
634
658
|
formattedPriceWithoutCurrencySymbol: '8',
|
|
635
659
|
},
|
|
660
|
+
displayBasePrice: {
|
|
661
|
+
value: 22.5,
|
|
662
|
+
formattedValue: '£22.50',
|
|
663
|
+
currencyIso: 'GBP',
|
|
664
|
+
formattedPriceWithoutCurrencySymbol: '22.50',
|
|
665
|
+
},
|
|
666
|
+
displayBasePriceExclusiveVat: {
|
|
667
|
+
value: 18.75,
|
|
668
|
+
formattedValue: '£18.75',
|
|
669
|
+
currencyIso: 'GBP',
|
|
670
|
+
formattedPriceWithoutCurrencySymbol: '18.75',
|
|
671
|
+
},
|
|
636
672
|
product: {
|
|
637
673
|
code: '123143',
|
|
638
674
|
name: '6 Wickes General Purpose Claw test',
|
|
@@ -816,6 +852,9 @@ Wick.MiniBasketData = (function () {
|
|
|
816
852
|
potentialProductPromotions: [
|
|
817
853
|
{
|
|
818
854
|
description: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
855
|
+
displayDescription: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
856
|
+
displayDescriptionExclusiveVat:
|
|
857
|
+
'Buy more to qualify for our buy 3 get 1 free offer',
|
|
819
858
|
promotionData: {
|
|
820
859
|
code: 'TD_ProductBOGOFPromotionPotential',
|
|
821
860
|
title: null,
|
|
@@ -840,6 +879,10 @@ Wick.MiniBasketData = (function () {
|
|
|
840
879
|
{
|
|
841
880
|
description:
|
|
842
881
|
'These item qualify for our buy 3 get 1 free offer - You have saved £36.00',
|
|
882
|
+
displayDescription:
|
|
883
|
+
'These item qualify for our buy 3 get 1 free offer - You have saved £36.00',
|
|
884
|
+
displayDescriptionExclusiveVat:
|
|
885
|
+
'These item qualify for our buy 3 get 1 free offer - You have saved £30.00 Exc.VAT',
|
|
843
886
|
promotionData: {
|
|
844
887
|
code: 'TD_ProductBOGOFPromotion',
|
|
845
888
|
title: null,
|
|
@@ -868,6 +911,7 @@ Wick.MiniBasketData = (function () {
|
|
|
868
911
|
promotionsInfo: [
|
|
869
912
|
{
|
|
870
913
|
description: 'Buy 3 get 1 free',
|
|
914
|
+
displayDescription: 'Buy 3 get 1 free',
|
|
871
915
|
usedCouponCode: '',
|
|
872
916
|
},
|
|
873
917
|
],
|
|
@@ -900,6 +944,18 @@ Wick.MiniBasketData = (function () {
|
|
|
900
944
|
currencyIso: 'GBP',
|
|
901
945
|
formattedPriceWithoutCurrencySymbol: '18',
|
|
902
946
|
},
|
|
947
|
+
displayBasePrice: {
|
|
948
|
+
value: 14.4,
|
|
949
|
+
formattedValue: '£14.40',
|
|
950
|
+
currencyIso: 'GBP',
|
|
951
|
+
formattedPriceWithoutCurrencySymbol: '14.40',
|
|
952
|
+
},
|
|
953
|
+
displayBasePriceExclusiveVat: {
|
|
954
|
+
value: 12.0,
|
|
955
|
+
formattedValue: '£12.00',
|
|
956
|
+
currencyIso: 'GBP',
|
|
957
|
+
formattedPriceWithoutCurrencySymbol: '12.00',
|
|
958
|
+
},
|
|
903
959
|
product: {
|
|
904
960
|
code: '109450',
|
|
905
961
|
name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
|
|
@@ -986,6 +1042,18 @@ Wick.MiniBasketData = (function () {
|
|
|
986
1042
|
currencyIso: 'GBP',
|
|
987
1043
|
formattedPriceWithoutCurrencySymbol: '24',
|
|
988
1044
|
},
|
|
1045
|
+
displayBasePrice: {
|
|
1046
|
+
value: 22.5,
|
|
1047
|
+
formattedValue: '£22.50',
|
|
1048
|
+
currencyIso: 'GBP',
|
|
1049
|
+
formattedPriceWithoutCurrencySymbol: '22.50',
|
|
1050
|
+
},
|
|
1051
|
+
displayBasePriceExclusiveVat: {
|
|
1052
|
+
value: 18.75,
|
|
1053
|
+
formattedValue: '£18.75',
|
|
1054
|
+
currencyIso: 'GBP',
|
|
1055
|
+
formattedPriceWithoutCurrencySymbol: '18.75',
|
|
1056
|
+
},
|
|
989
1057
|
product: {
|
|
990
1058
|
code: '109451',
|
|
991
1059
|
name: 'Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²',
|