wickes-css2 2.113.0-develop.2 → 2.113.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 +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/checkout-payment-repayment-terms.css +1 -1
- package/build/css/components/global-search.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/components/store-locator-facilities.css +1 -1
- package/build/css/components/store-locator-lookup.css +1 -1
- package/build/css/components/tile-calculator.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/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_address-book.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_discount.css +1 -1
- package/build/css/pages/page_fi.css +1 -1
- package/build/css/pages/page_in-store-checkout.css +1 -1
- package/build/css/pages/page_merged-basket.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_product-details-critical.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_product-details.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list_v2.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_store-locator.css +1 -1
- package/build/css/pages/page_ti.css +1 -1
- package/build/css/pages/tradePro-discount.css +1 -1
- package/build/css/pages/tradePro-rewards-old.css +1 -1
- package/build/css/pages/tradePro-rewards.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/shopping-list-pdf.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/img/emulation/low-trees.png +0 -0
- package/build/img/emulation/overhead-power-cables.png +0 -0
- package/build/img/emulation/parked-vehicles.png +0 -0
- package/build/img/emulation/traffic-access-issues.png +0 -0
- package/build/img/emulation/walls-or-fences.png +0 -0
- package/build/js/account-members.min.js +1 -1
- package/build/js/add-project-list-id.min.js +1 -1
- package/build/js/address-book.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bloomreach-widget.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/change-password.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +477 -3271
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/package-bulk-add.min.js +1 -0
- package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +319 -0
- package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +390 -0
- package/build/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
- package/build/js/page/bloomreach-widget/bloomreach-widget.js +13 -237
- package/build/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
- package/build/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
- package/build/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
- package/build/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
- package/build/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
- package/build/js/page/bloomreach-widget/complete-your-project/view.js +184 -0
- package/build/js/page/bloomreach-widget/complete-your-project/widget.js +184 -0
- package/build/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
- package/build/js/page/bloomreach-widget/similar-products-widget.js +17 -0
- package/build/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
- package/build/js/page/plp-load-more.js +81 -66
- package/build/js/page/ripple/bulk-add.js +71 -0
- package/build/js/page/ripple/package-bulk-add.js +43 -0
- package/build/js/page/ripple/postcode-checker.js +83 -0
- package/build/js/page/ripple/thumb-gallery.js +236 -0
- package/build/js/page/utils/validation.js +1 -1
- package/build/js/pdp.bundle.min.js +2 -2
- package/build/js/personal-details.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/postcode-checker.min.js +1 -0
- package/build/js/project-list.min.js +2 -2
- package/build/js/quiz.min.js +1 -1
- package/build/js/track-my-order.min.js +1 -1
- package/package.json +4 -2
- package/src/badges-ripple.html +120 -0
- package/src/badges.html +9 -18
- package/src/components/base/button.hbs +7 -0
- package/src/components/bloomreach/complete-card.hbs +1 -1
- package/src/components/bloomreach/complete-your-project-skeleton.hbs +21 -0
- package/src/components/bloomreach/complete-your-project.hbs +6 -21
- package/src/components/bloomreach/why-not-add-card-skeleton.hbs +2 -2
- package/src/components/bloomreach/why-not-add-card.hbs +98 -60
- package/src/components/bloomreach/why-not-add-content.hbs +3 -3
- package/src/components/bloomreach/why-not-add.hbs +2 -2
- package/src/components/date-selection.hbs +19 -10
- package/src/components/fulfilment-accordions.hbs +1 -1
- package/src/components/heavy-banners-wrapper.hbs +21 -0
- package/src/components/image-accordion.hbs +18 -0
- package/src/components/kitchen/price.hbs +49 -29
- package/src/components/kitchen/strip-stickers.hbs +9 -3
- package/src/components/package-card.hbs +30 -0
- package/src/components/pdp-price-actions.hbs +17 -0
- package/src/components/postcode-checker.hbs +24 -0
- package/src/components/price-badges.hbs +12 -10
- package/src/components/price-block-v2.hbs +289 -199
- package/src/components/product-main-info-v2.hbs +2 -0
- package/src/components/suite-includes.hbs +66 -0
- package/src/components/suite-product-card.hbs +47 -0
- package/src/components/thumb-gallery.hbs +23 -0
- package/src/data/data_badges.json +143 -0
- package/src/data/data_bathroom-plp.json +814 -0
- package/src/data/data_heavy-banner.json +29 -0
- package/src/data/data_suite-includes-products.json +134 -0
- package/src/data/my-account/data_my-account.json +1 -1
- package/src/data/my-account/data_my-order.json +1 -1
- package/src/data/my-account/data_my-orders.json +1 -1
- package/src/img/emulation/low-trees.png +0 -0
- package/src/img/emulation/overhead-power-cables.png +0 -0
- package/src/img/emulation/parked-vehicles.png +0 -0
- package/src/img/emulation/traffic-access-issues.png +0 -0
- package/src/img/emulation/walls-or-fences.png +0 -0
- package/src/js/components/banner-placement-manager.js +25 -9
- package/src/js/components/general/cart-slider.js +41 -4
- package/src/js/components/general/image-accordion.js +54 -0
- package/src/js/components/general/switchVat.js +8 -1
- package/src/js/components/package-card.js +69 -0
- package/src/js/components/store-locator-cards.js +76 -0
- package/src/js/emulation/banner-placement-manager.js +219 -188
- package/src/js/emulation/bloomreach-widget-calculations.js +1 -1
- package/src/js/emulation/complete-your-project-loading.js +16 -0
- package/src/js/emulation/custom-slider-emulation.js +21 -8
- package/src/js/emulation/date-selection.js +2 -2
- package/src/js/emulation/dont-forget-loading.js +36 -0
- package/src/js/emulation/just-added-scenarios-emulation.js +131 -0
- package/src/js/emulation/mini-basket.js +34 -34
- package/src/js/emulation/mock.js +495 -38
- package/src/js/emulation/plp-load-more.js +13 -4
- package/src/js/emulation/postcode-checker.js +11 -0
- package/src/js/emulation/similar-products-loading.js +22 -0
- package/src/js/emulation/why-not-add-loading.js +14 -3
- package/src/js/emulation/why-not-add.js +12 -14
- package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +319 -0
- package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +390 -0
- package/src/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
- package/src/js/page/bloomreach-widget/bloomreach-widget.js +13 -237
- package/src/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
- package/src/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
- package/src/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
- package/src/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
- package/src/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
- package/src/js/page/bloomreach-widget/complete-your-project/view.js +184 -0
- package/src/js/page/bloomreach-widget/complete-your-project/widget.js +184 -0
- package/src/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
- package/src/js/page/bloomreach-widget/similar-products-widget.js +17 -0
- package/src/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
- package/src/js/page/plp-load-more.js +81 -66
- package/src/js/page/ripple/bulk-add.js +71 -0
- package/src/js/page/ripple/package-bulk-add.js +43 -0
- package/src/js/page/ripple/postcode-checker.js +83 -0
- package/src/js/page/ripple/thumb-gallery.js +236 -0
- package/src/js/page/utils/validation.js +1 -1
- package/src/page_bathroom-plp-vat.html +81 -0
- package/src/page_bathroom-plp-without-load-more.html +83 -0
- package/src/page_bathroom-plp.html +98 -0
- package/src/page_checkout_big-bulky-delivery-details.html +272 -0
- package/src/page_checkout_delivery-details-v2-calendar-not-loaded.html +167 -0
- package/src/page_checkout_payment-details-v2-asm.html +2 -3
- package/src/page_checkout_payment-details-v2.html +2 -3
- package/src/page_checkout_payment-details_with-card-loader.html +2 -3
- package/src/page_checkout_payment-details_with-klarna-loader.html +2 -3
- package/src/page_checkout_payment-details_with-loader-v2.html +2 -3
- package/src/page_checkout_premium-delivery-details.html +2 -2
- package/src/page_klarna_payment-details_with-klarna.html +2 -3
- package/src/page_payment-details-billie-registered-only.html +2 -3
- package/src/page_payment-details-billie-unregistered-only.html +2 -3
- package/src/page_payment-details-with-billie.html +2 -3
- package/src/page_payment-details-with-clearpay.html +2 -3
- package/src/page_payment-details-with-gift-card.html +2 -3
- package/src/page_payment-details_with_apple-pay.html +0 -1
- package/src/page_payment-details_with_google-pay.html +2 -3
- package/src/page_product-details-banner.html +1 -3
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
- package/src/page_product-details-big-wins-non-registered.html +1 -3
- package/src/page_product-details-big-wins-out-nearest.html +1 -3
- package/src/page_product-details-big-wins-unhappy.html +1 -3
- package/src/page_product-details-big-wins.html +1 -3
- package/src/page_product-details-billie.html +1 -3
- package/src/page_product-details-calculator.html +1 -3
- package/src/page_product-details-cashback-v2.html +1 -3
- package/src/page_product-details-clearpay.html +1 -3
- package/src/page_product-details-cnc-error-notification.html +1 -3
- package/src/page_product-details-cnc-success-notification-vat.html +1 -4
- package/src/page_product-details-cnc-success-notification.html +1 -3
- package/src/page_product-details-default-store.html +1 -3
- package/src/page_product-details-energy-efficiency.html +1 -3
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
- package/src/page_product-details-flooring.html +1 -3
- package/src/page_product-details-gallery-actual.html +1 -3
- package/src/page_product-details-mfe-calculator.html +1 -3
- package/src/page_product-details-mtm-doors.html +1 -3
- package/src/page_product-details-only-clearpay.html +1 -3
- package/src/page_product-details-paint-mixing.html +1 -3
- package/src/page_product-details-ripple-gallery-1-image.html +120 -0
- package/src/page_product-details-ripple-gallery-missing-image.html +121 -0
- package/src/page_product-details-ripple-gallery.html +121 -0
- package/src/page_product-details-saved-pl.html +1 -3
- package/src/page_product-details-suite-includes-banners.html +139 -0
- package/src/page_product-details-suite-includes-billie.html +128 -0
- package/src/page_product-details-suite-includes-klarna.html +120 -0
- package/src/page_product-details-suite-includes-vat.html +126 -0
- package/src/page_product-details-suite-includes.html +122 -0
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
- package/src/page_product-details-tile-steps-logout.html +1 -3
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
- package/src/page_product-details-tile-steps-with-klarna.html +1 -3
- package/src/page_product-details-tile-steps.html +1 -3
- package/src/page_product-details-v2.html +1 -3
- package/src/page_product-details-vat.html +1 -3
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
- package/src/page_product-details-wisdom-mcfc.html +1 -3
- package/src/page_product-details-wisdom-oos-registered.html +1 -3
- package/src/page_product-details-wisdom-oos.html +1 -3
- package/src/page_product-details-wisdom-registered.html +1 -3
- package/src/page_product-details-wisdom.html +1 -3
- package/src/page_product-details-with-favourite.html +1 -3
- package/src/page_product-details-with-global-search-v2.html +6 -9
- package/src/page_product-details-with-similar-products-widget.html +132 -0
- package/src/page_product-details-with-why-not-add-single.html +2 -1
- package/src/page_product-details_no-previous-default.html +1 -3
- package/src/scss/common/_loading-button.scss +3 -1
- package/src/scss/components/_cards-slider.scss +3 -1
- package/src/scss/components/_checkout_order.scss +2 -1
- package/src/scss/components/_date-selection-add-new-styles.scss +53 -3
- package/src/scss/components/_gift-cards.scss +1 -1
- package/src/scss/components/_heavy-banners.scss +216 -0
- package/src/scss/components/_image-accordion.scss +54 -0
- package/src/scss/components/_kitchen-card.scss +1 -0
- package/src/scss/components/_map.scss +38 -0
- package/src/scss/components/_package-card.scss +65 -0
- package/src/scss/components/_package-plp.scss +88 -0
- package/src/scss/components/_postcode-checker.scss +115 -0
- package/src/scss/components/_price-badges-critical.scss +10 -0
- package/src/scss/components/_price-badges.scss +10 -0
- package/src/scss/components/_price-block-critical.scss +1 -0
- package/src/scss/components/_price-block.scss +1 -0
- package/src/scss/components/_sticky-element-appearance.scss +6 -2
- package/src/scss/components/_suite-includes.scss +141 -0
- package/src/scss/components/_suite-product-card.scss +98 -0
- package/src/scss/components/_thumb-gallery-critical.scss +35 -0
- package/src/scss/components/_thumb-gallery.scss +200 -0
- package/src/scss/components/bloomreach/_bloomreach.scss +1 -0
- package/src/scss/components/bloomreach/_card-shared.scss +24 -0
- package/src/scss/components/bloomreach/_complete-card.scss +1 -9
- package/src/scss/components/bloomreach/_reviews.scss +0 -2
- package/src/scss/components/bloomreach/_why-not-add-card.scss +137 -10
- package/src/scss/components/bloomreach/_why-not-add.scss +34 -3
- package/src/scss/components/checkout-payment-details-v2.scss +44 -20
- package/src/scss/components/checkout-payment-repayment-terms.scss +0 -1
- package/src/scss/components/energy-efficiency.scss +2 -2
- package/src/scss/components/global-search.scss +6 -2
- package/src/scss/components/kitchen/_price.scss +10 -0
- package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
- package/src/scss/components/my-account/_active-orders.scss +9 -9
- package/src/scss/components/price-block-v2-critical.scss +62 -0
- package/src/scss/components/price-block-v2.scss +62 -0
- package/src/scss/helpers/helpers-pdp-critical/_helpers-critical-pdp.scss +13 -8
- package/src/scss/libs/_bootstrap-extracted.scss +5 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/_checkout_delivery-details.scss +16 -104
- package/src/scss/pages/iframe-paypage.scss +9 -11
- package/src/scss/pages/page_checkout_delivery-new.scss +256 -164
- package/src/scss/pages/page_cms_homepage.scss +10 -4
- package/src/scss/pages/page_installation.scss +2 -2
- package/src/scss/pages/page_online-exclusive.scss +7 -3
- package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
- package/src/scss/pages/page_product-details-v2.scss +168 -107
- package/src/scss/pages/page_product-details.scss +11 -0
- package/src/scss/pages/page_products-list-combined.scss +8 -6
- package/src/scss/pages/page_products-list_v2.scss +8 -6
- package/src/scss/pages/page_top-rated.scss +38 -23
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +6 -0
- package/src/scss/plp-main.scss +5 -0
- package/src/sitemap.html +31 -6
- package/build/css/components/kitchen/strip-stickers.css +0 -1
- package/build/css/components/strip-stickers.css +0 -1
- package/build/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
- package/src/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
- package/src/scss/components/kitchen/strip-stickers.scss +0 -18
- package/src/scss/components/strip-stickers.scss +0 -18
package/src/js/emulation/mock.js
CHANGED
|
@@ -9,10 +9,382 @@ Wick.FEMock = {
|
|
|
9
9
|
);
|
|
10
10
|
},
|
|
11
11
|
dataBloomreach: {
|
|
12
|
+
dontForgetRecommendations: {
|
|
13
|
+
recommendedProducts: [
|
|
14
|
+
{
|
|
15
|
+
baseProduct: {
|
|
16
|
+
code: '153731',
|
|
17
|
+
name: 'Wickes Trade Paint Roller Set - 9in',
|
|
18
|
+
url: '/Wickes-Trade-Paint-Roller-Set---9in/p/153731',
|
|
19
|
+
purchasable: true,
|
|
20
|
+
productType: 'ProductModel',
|
|
21
|
+
isBaseProduct: false,
|
|
22
|
+
availabilityRestriction: 'NO_RESTRICTIONS',
|
|
23
|
+
fulfilmentType: 'STANDARD',
|
|
24
|
+
stock: {
|
|
25
|
+
stockLevelStatus: {
|
|
26
|
+
code: 'inStock',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
fulfillmentAttributes: {
|
|
30
|
+
type: 'STANDARD',
|
|
31
|
+
},
|
|
32
|
+
potentialPromotions: [
|
|
33
|
+
{
|
|
34
|
+
customAttributes: {
|
|
35
|
+
overlayText: '15% off',
|
|
36
|
+
overlayBackgroundColor: 'yellow',
|
|
37
|
+
overlayTextColor: 'gray',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
images: [
|
|
42
|
+
{
|
|
43
|
+
imageType: 'PRIMARY',
|
|
44
|
+
format: 'product',
|
|
45
|
+
url: 'https://placehold.co/68x68?text=roller',
|
|
46
|
+
altText: 'Wickes Trade Paint Roller Set - 9in',
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
externalAverageRating: 5,
|
|
50
|
+
externalReviewCount: 100,
|
|
51
|
+
displayPrice: {
|
|
52
|
+
currencyIso: 'GBP',
|
|
53
|
+
value: 9999,
|
|
54
|
+
priceType: 'BUY',
|
|
55
|
+
formattedValue: '£9,999.00',
|
|
56
|
+
formattedPriceWithoutCurrencySymbol: '9999',
|
|
57
|
+
currencySymbol: '£',
|
|
58
|
+
vatRatePercentage: 20,
|
|
59
|
+
valueInPence: 999900,
|
|
60
|
+
wasPrice: 3000,
|
|
61
|
+
},
|
|
62
|
+
displayPriceExclusiveVat: {
|
|
63
|
+
currencyIso: 'GBP',
|
|
64
|
+
value: 9998,
|
|
65
|
+
priceType: 'BUY',
|
|
66
|
+
formattedValue: '£9,998.00',
|
|
67
|
+
formattedPriceWithoutCurrencySymbol: '9998',
|
|
68
|
+
currencySymbol: '£',
|
|
69
|
+
valueInPence: 999800,
|
|
70
|
+
wasPrice: 2500,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
baseProduct: {
|
|
76
|
+
code: '349137',
|
|
77
|
+
name: 'Wickes Microfibre Paint Roller Sleeve - 9in',
|
|
78
|
+
url: '/Wickes-Microfibre-Paint-Roller-Sleeve---9in/p/349137',
|
|
79
|
+
purchasable: true,
|
|
80
|
+
productType: 'ProductModel',
|
|
81
|
+
isBaseProduct: false,
|
|
82
|
+
availabilityRestriction: 'NO_RESTRICTIONS',
|
|
83
|
+
fulfilmentType: 'STANDARD',
|
|
84
|
+
stock: {
|
|
85
|
+
stockLevelStatus: {
|
|
86
|
+
code: 'inStock',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
fulfillmentAttributes: {
|
|
90
|
+
type: 'STANDARD',
|
|
91
|
+
},
|
|
92
|
+
potentialPromotions: [
|
|
93
|
+
{
|
|
94
|
+
customAttributes: {
|
|
95
|
+
overlayText: 'Multi-buy',
|
|
96
|
+
overlayBackgroundColor: 'green',
|
|
97
|
+
overlayTextColor: 'gray',
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
images: [
|
|
102
|
+
{
|
|
103
|
+
imageType: 'PRIMARY',
|
|
104
|
+
format: 'product',
|
|
105
|
+
url: 'https://placehold.co/68x68?text=sleeve',
|
|
106
|
+
altText: 'Wickes Microfibre Paint Roller Sleeve - 9in',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
externalAverageRating: 4.2,
|
|
110
|
+
externalReviewCount: 48,
|
|
111
|
+
displayPrice: {
|
|
112
|
+
currencyIso: 'GBP',
|
|
113
|
+
value: 7.5,
|
|
114
|
+
priceType: 'BUY',
|
|
115
|
+
formattedValue: '£7.50',
|
|
116
|
+
formattedPriceWithoutCurrencySymbol: '7.50',
|
|
117
|
+
currencySymbol: '£',
|
|
118
|
+
vatRatePercentage: 20,
|
|
119
|
+
valueInPence: 750,
|
|
120
|
+
},
|
|
121
|
+
displayPriceExclusiveVat: {
|
|
122
|
+
currencyIso: 'GBP',
|
|
123
|
+
value: 6.25,
|
|
124
|
+
priceType: 'BUY',
|
|
125
|
+
formattedValue: '£6.25',
|
|
126
|
+
formattedPriceWithoutCurrencySymbol: '6.25',
|
|
127
|
+
currencySymbol: '£',
|
|
128
|
+
valueInPence: 625,
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
baseProduct: {
|
|
134
|
+
code: '221048',
|
|
135
|
+
name: 'Wickes Paint Tray - 9in',
|
|
136
|
+
url: '/Wickes-Paint-Tray---9in/p/221048',
|
|
137
|
+
purchasable: true,
|
|
138
|
+
productType: 'ProductModel',
|
|
139
|
+
isBaseProduct: false,
|
|
140
|
+
availabilityRestriction: 'NO_RESTRICTIONS',
|
|
141
|
+
fulfilmentType: 'STANDARD',
|
|
142
|
+
stock: {
|
|
143
|
+
stockLevelStatus: {
|
|
144
|
+
code: 'inStock',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
fulfillmentAttributes: {
|
|
148
|
+
type: 'STANDARD',
|
|
149
|
+
},
|
|
150
|
+
potentialPromotions: [
|
|
151
|
+
{
|
|
152
|
+
customAttributes: {
|
|
153
|
+
overlayText: 'Offer Ends Wednesday',
|
|
154
|
+
overlayBackgroundColor: 'red',
|
|
155
|
+
overlayTextColor: 'white',
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
images: [
|
|
160
|
+
{
|
|
161
|
+
imageType: 'PRIMARY',
|
|
162
|
+
format: 'product',
|
|
163
|
+
url: 'https://placehold.co/68x68?text=tray',
|
|
164
|
+
altText: 'Wickes Paint Tray - 9in',
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
externalAverageRating: 3.8,
|
|
168
|
+
externalReviewCount: 19,
|
|
169
|
+
displayPrice: {
|
|
170
|
+
currencyIso: 'GBP',
|
|
171
|
+
value: 4,
|
|
172
|
+
priceType: 'BUY',
|
|
173
|
+
formattedValue: '£4',
|
|
174
|
+
formattedPriceWithoutCurrencySymbol: '4',
|
|
175
|
+
currencySymbol: '£',
|
|
176
|
+
vatRatePercentage: 20,
|
|
177
|
+
valueInPence: 400,
|
|
178
|
+
},
|
|
179
|
+
displayPriceExclusiveVat: {
|
|
180
|
+
currencyIso: 'GBP',
|
|
181
|
+
value: 3.33,
|
|
182
|
+
priceType: 'BUY',
|
|
183
|
+
formattedValue: '£3.33',
|
|
184
|
+
formattedPriceWithoutCurrencySymbol: '3.33',
|
|
185
|
+
currencySymbol: '£',
|
|
186
|
+
valueInPence: 333,
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
baseProduct: {
|
|
192
|
+
code: '654221',
|
|
193
|
+
name: 'Wickes Professional Masking Tape - 48mm x 50m',
|
|
194
|
+
url: '/Wickes-Professional-Masking-Tape---48mm-x-50m/p/654221',
|
|
195
|
+
purchasable: true,
|
|
196
|
+
productType: 'ProductModel',
|
|
197
|
+
isBaseProduct: false,
|
|
198
|
+
availabilityRestriction: 'NO_RESTRICTIONS',
|
|
199
|
+
fulfilmentType: 'STANDARD',
|
|
200
|
+
stock: {
|
|
201
|
+
stockLevelStatus: {
|
|
202
|
+
code: 'inStock',
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
fulfillmentAttributes: {
|
|
206
|
+
type: 'STANDARD',
|
|
207
|
+
},
|
|
208
|
+
potentialPromotions: [
|
|
209
|
+
{
|
|
210
|
+
customAttributes: {
|
|
211
|
+
overlayText: 'Online Only',
|
|
212
|
+
overlayBackgroundColor: 'blue',
|
|
213
|
+
overlayTextColor: 'white',
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
images: [
|
|
218
|
+
{
|
|
219
|
+
imageType: 'PRIMARY',
|
|
220
|
+
format: 'product',
|
|
221
|
+
url: 'https://placehold.co/68x68?text=tape',
|
|
222
|
+
altText: 'Wickes Professional Masking Tape - 48mm x 50m',
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
externalAverageRating: 4.6,
|
|
226
|
+
externalReviewCount: 72,
|
|
227
|
+
displayPrice: {
|
|
228
|
+
currencyIso: 'GBP',
|
|
229
|
+
value: 5.5,
|
|
230
|
+
priceType: 'BUY',
|
|
231
|
+
formattedValue: '£5.50',
|
|
232
|
+
formattedPriceWithoutCurrencySymbol: '5.50',
|
|
233
|
+
currencySymbol: '£',
|
|
234
|
+
vatRatePercentage: 20,
|
|
235
|
+
valueInPence: 550,
|
|
236
|
+
},
|
|
237
|
+
displayPriceExclusiveVat: {
|
|
238
|
+
currencyIso: 'GBP',
|
|
239
|
+
value: 4.58,
|
|
240
|
+
priceType: 'BUY',
|
|
241
|
+
formattedValue: '£4.58',
|
|
242
|
+
formattedPriceWithoutCurrencySymbol: '4.58',
|
|
243
|
+
currencySymbol: '£',
|
|
244
|
+
valueInPence: 458,
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
baseProduct: {
|
|
250
|
+
code: '782913',
|
|
251
|
+
name: 'Wickes Dust Sheet Cotton Twill - 3.6m x 2.7m Extra Long Product Name For Two Line Truncation Test',
|
|
252
|
+
url: '/Wickes-Dust-Sheet-Cotton-Twill---3-6m-x-2-7m/p/782913',
|
|
253
|
+
purchasable: true,
|
|
254
|
+
productType: 'ProductModel',
|
|
255
|
+
isBaseProduct: false,
|
|
256
|
+
availabilityRestriction: 'NO_RESTRICTIONS',
|
|
257
|
+
fulfilmentType: 'STANDARD',
|
|
258
|
+
stock: {
|
|
259
|
+
stockLevelStatus: {
|
|
260
|
+
code: 'inStock',
|
|
261
|
+
},
|
|
262
|
+
},
|
|
263
|
+
fulfillmentAttributes: {
|
|
264
|
+
type: 'STANDARD',
|
|
265
|
+
},
|
|
266
|
+
potentialPromotions: [
|
|
267
|
+
{
|
|
268
|
+
customAttributes: {
|
|
269
|
+
overlayText: 'Clearance',
|
|
270
|
+
overlayBackgroundColor: 'gray',
|
|
271
|
+
overlayTextColor: 'white',
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
images: [
|
|
276
|
+
{
|
|
277
|
+
imageType: 'PRIMARY',
|
|
278
|
+
format: 'product',
|
|
279
|
+
url: 'https://placehold.co/68x68?text=sheet',
|
|
280
|
+
altText: 'Wickes Dust Sheet Cotton Twill - 3.6m x 2.7m',
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
externalAverageRating: 4.1,
|
|
284
|
+
externalReviewCount: 34,
|
|
285
|
+
displayPrice: {
|
|
286
|
+
currencyIso: 'GBP',
|
|
287
|
+
value: 12,
|
|
288
|
+
priceType: 'BUY',
|
|
289
|
+
formattedValue: '£12',
|
|
290
|
+
formattedPriceWithoutCurrencySymbol: '12',
|
|
291
|
+
currencySymbol: '£',
|
|
292
|
+
vatRatePercentage: 20,
|
|
293
|
+
valueInPence: 1200,
|
|
294
|
+
wasPrice: 18,
|
|
295
|
+
},
|
|
296
|
+
displayPriceExclusiveVat: {
|
|
297
|
+
currencyIso: 'GBP',
|
|
298
|
+
value: 10,
|
|
299
|
+
priceType: 'BUY',
|
|
300
|
+
formattedValue: '£10',
|
|
301
|
+
formattedPriceWithoutCurrencySymbol: '10',
|
|
302
|
+
currencySymbol: '£',
|
|
303
|
+
valueInPence: 1000,
|
|
304
|
+
wasPrice: 15,
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
widgetMetadata: {
|
|
310
|
+
responseId: 'mock-df-response',
|
|
311
|
+
id: 'df12345',
|
|
312
|
+
type: 'df',
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
dontForgetRecommendationsSingle: {
|
|
316
|
+
recommendedProducts: [
|
|
317
|
+
{
|
|
318
|
+
baseProduct: {
|
|
319
|
+
code: '153731',
|
|
320
|
+
name: 'Wickes Trade Paint Roller Set - 9in',
|
|
321
|
+
url: '/Wickes-Trade-Paint-Roller-Set---9in/p/153731',
|
|
322
|
+
purchasable: true,
|
|
323
|
+
productType: 'ProductModel',
|
|
324
|
+
isBaseProduct: false,
|
|
325
|
+
availabilityRestriction: 'NO_RESTRICTIONS',
|
|
326
|
+
fulfilmentType: 'STANDARD',
|
|
327
|
+
stock: {
|
|
328
|
+
stockLevelStatus: {
|
|
329
|
+
code: 'inStock',
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
fulfillmentAttributes: {
|
|
333
|
+
type: 'STANDARD',
|
|
334
|
+
},
|
|
335
|
+
potentialPromotions: [
|
|
336
|
+
{
|
|
337
|
+
customAttributes: {
|
|
338
|
+
overlayText: '15% off',
|
|
339
|
+
overlayBackgroundColor: 'yellow',
|
|
340
|
+
overlayTextColor: 'gray',
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
images: [
|
|
345
|
+
{
|
|
346
|
+
imageType: 'PRIMARY',
|
|
347
|
+
format: 'product',
|
|
348
|
+
url: 'https://placehold.co/68x68?text=roller',
|
|
349
|
+
altText: 'Wickes Trade Paint Roller Set - 9in',
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
externalAverageRating: 5,
|
|
353
|
+
externalReviewCount: 100,
|
|
354
|
+
displayPrice: {
|
|
355
|
+
currencyIso: 'GBP',
|
|
356
|
+
value: 9999,
|
|
357
|
+
priceType: 'BUY',
|
|
358
|
+
formattedValue: '£9,999.00',
|
|
359
|
+
formattedPriceWithoutCurrencySymbol: '9999',
|
|
360
|
+
currencySymbol: '£',
|
|
361
|
+
vatRatePercentage: 20,
|
|
362
|
+
valueInPence: 999900,
|
|
363
|
+
wasPrice: 3000,
|
|
364
|
+
},
|
|
365
|
+
displayPriceExclusiveVat: {
|
|
366
|
+
currencyIso: 'GBP',
|
|
367
|
+
value: 9998,
|
|
368
|
+
priceType: 'BUY',
|
|
369
|
+
formattedValue: '£9,998.00',
|
|
370
|
+
formattedPriceWithoutCurrencySymbol: '9998',
|
|
371
|
+
currencySymbol: '£',
|
|
372
|
+
valueInPence: 999800,
|
|
373
|
+
wasPrice: 2500,
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
widgetMetadata: {
|
|
379
|
+
responseId: 'mock-df-single-response',
|
|
380
|
+
id: 'dfSingle12345',
|
|
381
|
+
type: 'df',
|
|
382
|
+
},
|
|
383
|
+
},
|
|
12
384
|
whyNotAddRecommendationsSingle: {
|
|
13
385
|
widgetMetadata: {
|
|
14
386
|
responseId: 'mock-wna-single-response',
|
|
15
|
-
id: '
|
|
387
|
+
id: 'wnaSingle12345',
|
|
16
388
|
type: 'wna',
|
|
17
389
|
},
|
|
18
390
|
recommendedProducts: [
|
|
@@ -107,24 +479,24 @@ Wick.FEMock = {
|
|
|
107
479
|
|
|
108
480
|
displayPrice: {
|
|
109
481
|
currencyIso: 'GBP',
|
|
110
|
-
value:
|
|
482
|
+
value: 1605,
|
|
111
483
|
priceType: 'BUY',
|
|
112
|
-
formattedValue: '£
|
|
113
|
-
formattedPriceWithoutCurrencySymbol: '
|
|
484
|
+
formattedValue: '£1,605.00',
|
|
485
|
+
formattedPriceWithoutCurrencySymbol: '1605.00',
|
|
114
486
|
currencySymbol: '£',
|
|
115
487
|
vatRatePercentage: 20,
|
|
116
|
-
valueInPence:
|
|
117
|
-
wasPrice:
|
|
488
|
+
valueInPence: 160500,
|
|
489
|
+
wasPrice: 1899,
|
|
118
490
|
},
|
|
119
491
|
displayPriceExclusiveVat: {
|
|
120
492
|
currencyIso: 'GBP',
|
|
121
|
-
value:
|
|
493
|
+
value: 1337.5,
|
|
122
494
|
priceType: 'BUY',
|
|
123
|
-
formattedValue: '£
|
|
124
|
-
formattedPriceWithoutCurrencySymbol: '
|
|
495
|
+
formattedValue: '£1,337.50',
|
|
496
|
+
formattedPriceWithoutCurrencySymbol: '1337.50',
|
|
125
497
|
currencySymbol: '£',
|
|
126
|
-
valueInPence:
|
|
127
|
-
wasPrice:
|
|
498
|
+
valueInPence: 133750,
|
|
499
|
+
wasPrice: 1582.5,
|
|
128
500
|
},
|
|
129
501
|
},
|
|
130
502
|
},
|
|
@@ -158,22 +530,22 @@ Wick.FEMock = {
|
|
|
158
530
|
externalReviewCount: 48,
|
|
159
531
|
displayPrice: {
|
|
160
532
|
currencyIso: 'GBP',
|
|
161
|
-
value:
|
|
533
|
+
value: 7.5,
|
|
162
534
|
priceType: 'BUY',
|
|
163
|
-
formattedValue: '£7.
|
|
535
|
+
formattedValue: '£7.50',
|
|
164
536
|
formattedPriceWithoutCurrencySymbol: '7.50',
|
|
165
537
|
currencySymbol: '£',
|
|
166
538
|
vatRatePercentage: 20,
|
|
167
|
-
valueInPence:
|
|
539
|
+
valueInPence: 750,
|
|
168
540
|
},
|
|
169
541
|
displayPriceExclusiveVat: {
|
|
170
542
|
currencyIso: 'GBP',
|
|
171
|
-
value:
|
|
543
|
+
value: 6.25,
|
|
172
544
|
priceType: 'BUY',
|
|
173
545
|
formattedValue: '£6.25',
|
|
174
546
|
formattedPriceWithoutCurrencySymbol: '6.25',
|
|
175
547
|
currencySymbol: '£',
|
|
176
|
-
valueInPence:
|
|
548
|
+
valueInPence: 625,
|
|
177
549
|
},
|
|
178
550
|
},
|
|
179
551
|
},
|
|
@@ -395,16 +767,16 @@ Wick.FEMock = {
|
|
|
395
767
|
price: {
|
|
396
768
|
currencyIso: 'GBP',
|
|
397
769
|
currencySymbol: '£',
|
|
398
|
-
formattedPriceWithoutCurrencySymbol: '
|
|
399
|
-
formattedValue: '£
|
|
770
|
+
formattedPriceWithoutCurrencySymbol: '18.50',
|
|
771
|
+
formattedValue: '£18.50',
|
|
400
772
|
infoUom: 'L',
|
|
401
773
|
infoUomDescription: 'L',
|
|
402
774
|
infoUomPrice: 6.4,
|
|
403
775
|
priceType: 'BUY',
|
|
404
|
-
value:
|
|
405
|
-
valueInPence:
|
|
776
|
+
value: 18.5,
|
|
777
|
+
valueInPence: 1850,
|
|
406
778
|
vatRatePercentage: 20,
|
|
407
|
-
wasPrice: 24,
|
|
779
|
+
wasPrice: 24.5,
|
|
408
780
|
},
|
|
409
781
|
images: [
|
|
410
782
|
{
|
|
@@ -662,16 +1034,16 @@ Wick.FEMock = {
|
|
|
662
1034
|
},
|
|
663
1035
|
priceExclusiveVat: {
|
|
664
1036
|
currencyIso: 'GBP',
|
|
665
|
-
value: 15,
|
|
1037
|
+
value: 15.42,
|
|
666
1038
|
priceType: 'BUY',
|
|
667
|
-
formattedValue: '£15',
|
|
668
|
-
formattedPriceWithoutCurrencySymbol: '15',
|
|
1039
|
+
formattedValue: '£15.42',
|
|
1040
|
+
formattedPriceWithoutCurrencySymbol: '15.42',
|
|
669
1041
|
currencySymbol: '£',
|
|
670
1042
|
infoUom: 'length',
|
|
671
1043
|
infoUomDescription: 'length',
|
|
672
1044
|
infoUomPrice: 8.33,
|
|
673
|
-
valueInPence:
|
|
674
|
-
wasPrice: 20,
|
|
1045
|
+
valueInPence: 1542,
|
|
1046
|
+
wasPrice: 20.42,
|
|
675
1047
|
},
|
|
676
1048
|
downStreamData: {
|
|
677
1049
|
fulfillmentType: 'STANDARD',
|
|
@@ -731,29 +1103,30 @@ Wick.FEMock = {
|
|
|
731
1103
|
isAddedToFavourites: false,
|
|
732
1104
|
displayPrice: {
|
|
733
1105
|
currencyIso: 'GBP',
|
|
734
|
-
value: 18,
|
|
1106
|
+
value: 18.5,
|
|
735
1107
|
priceType: 'BUY',
|
|
736
|
-
formattedValue: '£18',
|
|
737
|
-
formattedPriceWithoutCurrencySymbol: '18',
|
|
1108
|
+
formattedValue: '£18.50',
|
|
1109
|
+
formattedPriceWithoutCurrencySymbol: '18.50',
|
|
738
1110
|
currencySymbol: '£',
|
|
739
1111
|
infoUom: 'length',
|
|
740
1112
|
infoUomDescription: 'length',
|
|
741
1113
|
infoUomPrice: 10,
|
|
742
1114
|
vatRatePercentage: 20,
|
|
743
|
-
valueInPence:
|
|
744
|
-
wasPrice: 24,
|
|
1115
|
+
valueInPence: 1850,
|
|
1116
|
+
wasPrice: 24.5,
|
|
745
1117
|
},
|
|
746
1118
|
displayPriceExclusiveVat: {
|
|
747
1119
|
currencyIso: 'GBP',
|
|
748
|
-
value: 15,
|
|
1120
|
+
value: 15.42,
|
|
749
1121
|
priceType: 'BUY',
|
|
750
|
-
formattedValue: '£15',
|
|
751
|
-
formattedPriceWithoutCurrencySymbol: '15',
|
|
1122
|
+
formattedValue: '£15.42',
|
|
1123
|
+
formattedPriceWithoutCurrencySymbol: '15.42',
|
|
752
1124
|
currencySymbol: '£',
|
|
753
1125
|
infoUom: 'length',
|
|
754
1126
|
infoUomDescription: 'length',
|
|
755
1127
|
infoUomPrice: 8.33,
|
|
756
|
-
valueInPence:
|
|
1128
|
+
valueInPence: 1542,
|
|
1129
|
+
wasPrice: 20.42,
|
|
757
1130
|
},
|
|
758
1131
|
displayPromoDescription: '5.51 GBP discount for cart for 250064, 191018',
|
|
759
1132
|
displayPromoDescriptionExclusiveVat:
|
|
@@ -3495,7 +3868,7 @@ Wick.FEMock = {
|
|
|
3495
3868
|
},
|
|
3496
3869
|
],
|
|
3497
3870
|
cartPDP: `
|
|
3498
|
-
<div class="custom-slider__wrap slider-mini-basket popover-mini-basket">
|
|
3871
|
+
<div class="custom-slider__wrap slider-mini-basket popover-mini-basket" data-mock-key="dontForgetRecommendations">
|
|
3499
3872
|
<div class="custom-slider__header">
|
|
3500
3873
|
<a href="#" type="button" class="link close-popup">
|
|
3501
3874
|
<span class="icon-wrap">
|
|
@@ -3544,8 +3917,61 @@ Wick.FEMock = {
|
|
|
3544
3917
|
</div>
|
|
3545
3918
|
</div>
|
|
3546
3919
|
</div>
|
|
3547
|
-
|
|
3548
|
-
|
|
3920
|
+
</div>
|
|
3921
|
+
<div class="custom-slider__footer">
|
|
3922
|
+
<button class="btn btn_full btn-secondary close-popup">Continue Shopping</button>
|
|
3923
|
+
<a href="/cart" class="btn btn-action btn_full btn-view-basket-cta" type="button">View Basket</a>
|
|
3924
|
+
</div>
|
|
3925
|
+
`,
|
|
3926
|
+
cartPDPSingle: `
|
|
3927
|
+
<div class="custom-slider__wrap slider-mini-basket popover-mini-basket" data-mock-key="dontForgetRecommendationsSingle">
|
|
3928
|
+
<div class="custom-slider__header">
|
|
3929
|
+
<a href="#" type="button" class="link close-popup">
|
|
3930
|
+
<span class="icon-wrap">
|
|
3931
|
+
<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="">
|
|
3932
|
+
<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>
|
|
3933
|
+
</svg>
|
|
3934
|
+
</span>
|
|
3935
|
+
Continue Shopping
|
|
3936
|
+
</a>
|
|
3937
|
+
<a href="#" type="button" class="icon-wrap close-popup">
|
|
3938
|
+
<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="">
|
|
3939
|
+
<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>
|
|
3940
|
+
</svg>
|
|
3941
|
+
</a>
|
|
3942
|
+
</div>
|
|
3943
|
+
<div class="custom-slider__message">
|
|
3944
|
+
<span class="icon-wrap success">
|
|
3945
|
+
<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 -->
|
|
3946
|
+
</span>
|
|
3947
|
+
|
|
3948
|
+
<div class="messages popover-mini-basket__added">
|
|
3949
|
+
<p class="messages__text">
|
|
3950
|
+
<span>
|
|
3951
|
+
You've just added</span>
|
|
3952
|
+
</p>
|
|
3953
|
+
|
|
3954
|
+
<span class="messages__notice">
|
|
3955
|
+
Excluding items already in basket</span>
|
|
3956
|
+
</div>
|
|
3957
|
+
</div>
|
|
3958
|
+
<div class="products popover-mini-basket__cards-holder">
|
|
3959
|
+
<div class="card product-card-preview">
|
|
3960
|
+
<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">
|
|
3961
|
+
<a href="/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100" class="card__img-wrap card__img-wrap_link products__image">
|
|
3962
|
+
<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">
|
|
3963
|
+
</a>
|
|
3964
|
+
|
|
3965
|
+
<div class="products__details">
|
|
3966
|
+
<a href="/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100" class="title product-card__title">Blue Circle Ready To Use Postcrete - 20kg</a>
|
|
3967
|
+
<p class="item">Added for delivery</p>
|
|
3968
|
+
<p class="item pdp-price__control-holder">Qty:
|
|
3969
|
+
<span class="value product-card__quantity-value">1</span>
|
|
3970
|
+
</p>
|
|
3971
|
+
<p class="price product-card__price-value">£7.50</p>
|
|
3972
|
+
</div>
|
|
3973
|
+
</div>
|
|
3974
|
+
</div>
|
|
3549
3975
|
</div>
|
|
3550
3976
|
</div>
|
|
3551
3977
|
<div class="custom-slider__footer">
|
|
@@ -3610,3 +4036,34 @@ Wick.FEMock = {
|
|
|
3610
4036
|
</div>
|
|
3611
4037
|
`,
|
|
3612
4038
|
};
|
|
4039
|
+
|
|
4040
|
+
Wick.FEMock.dataBloomreach.similarProductsRecommendations = {
|
|
4041
|
+
...Wick.FEMock.dataBloomreach.whyNotAddRecommendations,
|
|
4042
|
+
recommendedProducts: Wick.FEMock.dataBloomreach.whyNotAddRecommendations.recommendedProducts.map(
|
|
4043
|
+
function (recommendation, index) {
|
|
4044
|
+
if (index !== 1) {
|
|
4045
|
+
return recommendation;
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
return {
|
|
4049
|
+
...recommendation,
|
|
4050
|
+
baseProduct: {
|
|
4051
|
+
...recommendation.baseProduct,
|
|
4052
|
+
displayPrice: {
|
|
4053
|
+
...recommendation.baseProduct.displayPrice,
|
|
4054
|
+
wasPrice: 9.99,
|
|
4055
|
+
},
|
|
4056
|
+
displayPriceExclusiveVat: {
|
|
4057
|
+
...recommendation.baseProduct.displayPriceExclusiveVat,
|
|
4058
|
+
wasPrice: 8.33,
|
|
4059
|
+
},
|
|
4060
|
+
},
|
|
4061
|
+
};
|
|
4062
|
+
}
|
|
4063
|
+
),
|
|
4064
|
+
widgetMetadata: {
|
|
4065
|
+
responseId: 'mock-similar-products-response',
|
|
4066
|
+
id: 'similar-products-12345',
|
|
4067
|
+
type: 'similar_products',
|
|
4068
|
+
},
|
|
4069
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
function getHtmlByCurrentPage({ currentPage }) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function getHtmlByCurrentPage({ currentPage, isRippleData }) {
|
|
2
|
+
let pagesData;
|
|
3
|
+
|
|
4
|
+
if (isRippleData) {
|
|
5
|
+
pagesData = Wick.VatToggle.isToggleVatAvailable()
|
|
6
|
+
? Wick.FEMock.productListVatRippleData
|
|
7
|
+
: Wick.FEMock.productListRippleData;
|
|
8
|
+
} else {
|
|
9
|
+
pagesData = Wick.VatToggle.isToggleVatAvailable()
|
|
10
|
+
? Wick.FEMock.productListVatPagesData
|
|
11
|
+
: Wick.FEMock.productListPagesData;
|
|
12
|
+
}
|
|
13
|
+
|
|
5
14
|
const matchingData = pagesData.find((item) => item.page === currentPage);
|
|
6
15
|
|
|
7
16
|
return matchingData.html;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function bindPostcodeCheckAvailabilityEvent() {
|
|
2
|
+
$(window).on('postcodeCheckAviability', function ({ detail: { payload, resolve } }) {
|
|
3
|
+
setTimeout(function () {
|
|
4
|
+
resolve({ postcode: payload.postcode, isAvailable: true });
|
|
5
|
+
}, 600);
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
$(document).ready(function () {
|
|
10
|
+
bindPostcodeCheckAvailabilityEvent();
|
|
11
|
+
});
|