wickes-css2 2.112.0-develop.4 → 2.112.0-develop.7
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_product-details-critical.css +1 -1
- package/build/css/pages/page_product-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/js/basket.min.js +1 -1
- package/build/js/bloomreach-widget.min.js +1 -1
- package/build/js/emulation.min.js +664 -38
- package/build/js/page/basket-v2.js +29 -20
- package/build/js/page/bloomreach-widget/bloomreach-widget.js +250 -0
- package/build/js/page/{bloomreach-widget.js → bloomreach-widget/complete-your-project-widget.js} +205 -359
- package/build/js/page/bloomreach-widget/why-not-add-widget.js +198 -0
- package/package.json +1 -5
- package/src/components/bloomreach/complete-card.hbs +4 -32
- package/src/components/bloomreach/why-not-add-card-skeleton.hbs +14 -0
- package/src/components/bloomreach/why-not-add-card.hbs +73 -0
- package/src/components/bloomreach/why-not-add-content.hbs +41 -0
- package/src/components/bloomreach/why-not-add-skeleton.hbs +9 -0
- package/src/components/bloomreach/why-not-add.hbs +6 -0
- package/src/components/my-account/order.hbs +6 -1
- package/src/components/order-item.hbs +7 -7
- package/src/components/pdp-price-actions.hbs +2 -2
- package/src/components/potential-promotion.hbs +4 -4
- package/src/components/price-badges.hbs +12 -0
- package/src/components/price-block-v2.hbs +5 -12
- package/src/components/reviews-rating.hbs +22 -0
- package/src/components/share-list-modal-without-social-icons.hbs +2 -2
- package/src/components/share-list-modal.hbs +7 -3
- package/src/data/data_shopping-cart-v2.json +46 -2
- package/src/data/data_shopping-cart-with-energy.json +26 -2
- package/src/data/my-account/data_my-order.json +8 -0
- package/src/js/emulation/basket-data.js +312 -0
- package/src/js/emulation/bloomreach-widget-loading.js +2 -2
- package/src/js/emulation/mock.js +309 -0
- package/src/js/emulation/shopping-list.js +40 -49
- package/src/js/emulation/why-not-add-loading.js +11 -0
- package/src/js/emulation/why-not-add.js +28 -0
- package/src/js/page/basket-v2.js +29 -20
- package/src/js/page/bloomreach-widget/bloomreach-widget.js +250 -0
- package/src/js/page/{bloomreach-widget.js → bloomreach-widget/complete-your-project-widget.js} +205 -359
- package/src/js/page/bloomreach-widget/why-not-add-widget.js +198 -0
- package/src/page_product-details-bloomreach.html +1 -1
- package/src/page_product-details-with-global-search-v2.html +2 -1
- package/src/page_product-details-with-why-not-add-single.html +131 -0
- package/src/page_track-my-order-result.html +1 -0
- package/src/scss/components/_tradepro-discount-banner.scss +10 -14
- package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
- package/src/scss/components/bloomreach/_complete-card.scss +0 -38
- package/src/scss/components/bloomreach/_reviews.scss +60 -0
- package/src/scss/components/bloomreach/_why-not-add-card.scss +223 -0
- package/src/scss/components/bloomreach/_why-not-add.scss +143 -0
- package/src/scss/components/global-search.scss +0 -6
- package/src/scss/pages/page_product-details-critical.scss +7 -0
- package/src/scss/pages/page_product-details.scss +7 -0
- package/src/sitemap.html +10 -4
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
"potentialOrderPromotions": [
|
|
10
10
|
{
|
|
11
11
|
"description": "Spend over £200 on Bathroom Lighting and save £10.0",
|
|
12
|
-
"descriptionExcVat": "Spend over £150 on Bathroom Lighting and save £10.0"
|
|
12
|
+
"descriptionExcVat": "Spend over £150 on Bathroom Lighting and save £10.0",
|
|
13
|
+
"displayDescription": "Spend over £200 on Bathroom Lighting and save £10.0",
|
|
14
|
+
"displayDescriptionExclusiveVat": "Spend over £150 on Bathroom Lighting and save £10.0"
|
|
13
15
|
},
|
|
14
16
|
{
|
|
15
17
|
"description": "Spend over 2500 pound and get £2500 discount",
|
|
16
|
-
"descriptionExcVat": "Spend over 2000 pound and get £2000 discount"
|
|
18
|
+
"descriptionExcVat": "Spend over 2000 pound and get £2000 discount",
|
|
19
|
+
"displayDescription": "Spend over 2500 pound and get £2500 discount",
|
|
20
|
+
"displayDescriptionExclusiveVat": "Spend over 2000 pound and get £2000 discount"
|
|
17
21
|
}
|
|
18
22
|
],
|
|
19
23
|
"checkout": {
|
|
@@ -110,6 +114,10 @@
|
|
|
110
114
|
"quantity": 2,
|
|
111
115
|
"total": "32",
|
|
112
116
|
"totalExcVat": "30",
|
|
117
|
+
"displayBasePrice": "16",
|
|
118
|
+
"displayBasePriceExclusiveVat": "15",
|
|
119
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
120
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
113
121
|
"offers": [
|
|
114
122
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
115
123
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -369,6 +377,10 @@
|
|
|
369
377
|
"quantity": 123,
|
|
370
378
|
"total": "19776",
|
|
371
379
|
"totalExcVat": "19000",
|
|
380
|
+
"displayBasePrice": "16",
|
|
381
|
+
"displayBasePriceExclusiveVat": "15",
|
|
382
|
+
"displayItemTotalWithoutDiscount": "19776",
|
|
383
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "19000",
|
|
372
384
|
"message": "Purchased 12 times since your last visit 1 day ago",
|
|
373
385
|
"click-and-collect": {
|
|
374
386
|
"otherStores": [
|
|
@@ -604,6 +616,10 @@
|
|
|
604
616
|
"quantity": 2,
|
|
605
617
|
"total": "32",
|
|
606
618
|
"totalExcVat": "30",
|
|
619
|
+
"displayBasePrice": "16",
|
|
620
|
+
"displayBasePriceExclusiveVat": "15",
|
|
621
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
622
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
607
623
|
"click-and-collect": {
|
|
608
624
|
"otherStores": [
|
|
609
625
|
{
|
|
@@ -836,6 +852,10 @@
|
|
|
836
852
|
"priceExcVat": "15",
|
|
837
853
|
"total": "32",
|
|
838
854
|
"totalExcVat": "30",
|
|
855
|
+
"displayBasePrice": "16",
|
|
856
|
+
"displayBasePriceExclusiveVat": "15",
|
|
857
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
858
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
839
859
|
"quantity": 1,
|
|
840
860
|
"totalMobile": "16",
|
|
841
861
|
"click-and-collect": {
|
|
@@ -1077,6 +1097,10 @@
|
|
|
1077
1097
|
"quantity": 2,
|
|
1078
1098
|
"total": "32",
|
|
1079
1099
|
"totalExcVat": "30",
|
|
1100
|
+
"displayBasePrice": "16",
|
|
1101
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1102
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
1103
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
1080
1104
|
"offers": [
|
|
1081
1105
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
1082
1106
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -1100,6 +1124,10 @@
|
|
|
1100
1124
|
"quantity": 123,
|
|
1101
1125
|
"total": "19776",
|
|
1102
1126
|
"totalExcVat": "19000",
|
|
1127
|
+
"displayBasePrice": "16",
|
|
1128
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1129
|
+
"displayItemTotalWithoutDiscount": "19776",
|
|
1130
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "19000",
|
|
1103
1131
|
"message": "Purchased 12 times since your last visit 1 day ago",
|
|
1104
1132
|
"address": "Watford",
|
|
1105
1133
|
"updateable": true
|
|
@@ -1115,6 +1143,10 @@
|
|
|
1115
1143
|
"quantity": 2,
|
|
1116
1144
|
"total": "32",
|
|
1117
1145
|
"totalExcVat": "30",
|
|
1146
|
+
"displayBasePrice": "16",
|
|
1147
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1148
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
1149
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
1118
1150
|
"updateable": true
|
|
1119
1151
|
|
|
1120
1152
|
},
|
|
@@ -1126,6 +1158,10 @@
|
|
|
1126
1158
|
"priceExcVat": "15",
|
|
1127
1159
|
"total": "32",
|
|
1128
1160
|
"totalExcVat": "30",
|
|
1161
|
+
"displayBasePrice": "16",
|
|
1162
|
+
"displayBasePriceExclusiveVat": "15",
|
|
1163
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
1164
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
1129
1165
|
"code": "1231210",
|
|
1130
1166
|
"quantity": 1,
|
|
1131
1167
|
"totalMobile": "16",
|
|
@@ -1139,6 +1175,10 @@
|
|
|
1139
1175
|
"priceExcVat": "0",
|
|
1140
1176
|
"total": "0",
|
|
1141
1177
|
"totalExcVat": "0",
|
|
1178
|
+
"displayBasePrice": "0",
|
|
1179
|
+
"displayBasePriceExclusiveVat": "0",
|
|
1180
|
+
"displayItemTotalWithoutDiscount": "0",
|
|
1181
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "0",
|
|
1142
1182
|
"updateable": false,
|
|
1143
1183
|
"code": "1231211",
|
|
1144
1184
|
"quantity": 1,
|
|
@@ -1160,6 +1200,10 @@
|
|
|
1160
1200
|
"quantity": 1,
|
|
1161
1201
|
"total": "968",
|
|
1162
1202
|
"totalExcVat": "960",
|
|
1203
|
+
"displayBasePrice": "968",
|
|
1204
|
+
"displayBasePriceExclusiveVat": "960",
|
|
1205
|
+
"displayItemTotalWithoutDiscount": "968",
|
|
1206
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "960",
|
|
1163
1207
|
"deliveryStock": true,
|
|
1164
1208
|
"onlyDeliveryType": true
|
|
1165
1209
|
}
|
|
@@ -8,10 +8,14 @@
|
|
|
8
8
|
},
|
|
9
9
|
"potentialOrderPromotions": [
|
|
10
10
|
{
|
|
11
|
-
"description": "Spend over £200 on Bathroom Lighting and save £10.0"
|
|
11
|
+
"description": "Spend over £200 on Bathroom Lighting and save £10.0",
|
|
12
|
+
"displayDescription": "Spend over £200 on Bathroom Lighting and save £10.0",
|
|
13
|
+
"displayDescriptionExclusiveVat": "Spend over £150 on Bathroom Lighting and save £10.0"
|
|
12
14
|
},
|
|
13
15
|
{
|
|
14
|
-
"description": "Spend over 2500 pound and get £2500 discount"
|
|
16
|
+
"description": "Spend over 2500 pound and get £2500 discount",
|
|
17
|
+
"displayDescription": "Spend over 2500 pound and get £2500 discount",
|
|
18
|
+
"displayDescriptionExclusiveVat": "Spend over 2000 pound and get £2000 discount"
|
|
15
19
|
}
|
|
16
20
|
],
|
|
17
21
|
"checkout": {
|
|
@@ -80,6 +84,10 @@
|
|
|
80
84
|
"price": "16",
|
|
81
85
|
"quantity": 2,
|
|
82
86
|
"total": "32",
|
|
87
|
+
"displayBasePrice": "16",
|
|
88
|
+
"displayBasePriceExclusiveVat": "15",
|
|
89
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
90
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
83
91
|
"offers": [
|
|
84
92
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
85
93
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -339,6 +347,10 @@
|
|
|
339
347
|
"price": "16",
|
|
340
348
|
"quantity": 2,
|
|
341
349
|
"total": "32",
|
|
350
|
+
"displayBasePrice": "16",
|
|
351
|
+
"displayBasePriceExclusiveVat": "15",
|
|
352
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
353
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
342
354
|
"offers": [
|
|
343
355
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
344
356
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -604,6 +616,10 @@
|
|
|
604
616
|
"price": "16",
|
|
605
617
|
"quantity": 2,
|
|
606
618
|
"total": "32",
|
|
619
|
+
"displayBasePrice": "16",
|
|
620
|
+
"displayBasePriceExclusiveVat": "15",
|
|
621
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
622
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
607
623
|
"offers": [
|
|
608
624
|
"Buy 2 for 3 — Add 1 to qualify",
|
|
609
625
|
"Buy 2 for 3 — Add 1 to qualify"
|
|
@@ -628,6 +644,10 @@
|
|
|
628
644
|
"price": "16",
|
|
629
645
|
"quantity": 3,
|
|
630
646
|
"total": "32",
|
|
647
|
+
"displayBasePrice": "16",
|
|
648
|
+
"displayBasePriceExclusiveVat": "15",
|
|
649
|
+
"displayItemTotalWithoutDiscount": "32",
|
|
650
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "30",
|
|
631
651
|
"energyEfficiencyInfo": {
|
|
632
652
|
"ratingValue": "D",
|
|
633
653
|
"oldRatingType": false,
|
|
@@ -641,6 +661,10 @@
|
|
|
641
661
|
"image": "./img/tile-buying-guide.jpg",
|
|
642
662
|
"title": "6 Wickes General Purpose Claw test",
|
|
643
663
|
"price": "16",
|
|
664
|
+
"displayBasePrice": "16",
|
|
665
|
+
"displayBasePriceExclusiveVat": "15",
|
|
666
|
+
"displayItemTotalWithoutDiscount": "16",
|
|
667
|
+
"displayItemTotalWithoutDiscountExclusiveVat": "15",
|
|
644
668
|
"code": "123143",
|
|
645
669
|
"quantity": 1,
|
|
646
670
|
"totalMobile": "16",
|
|
@@ -87,6 +87,8 @@
|
|
|
87
87
|
{
|
|
88
88
|
"title": "Click & Collect",
|
|
89
89
|
"subtotal": "£53.65",
|
|
90
|
+
"subtotalExcVat": "£44.71",
|
|
91
|
+
"switchVat": true,
|
|
90
92
|
"deliveryRange": [
|
|
91
93
|
{
|
|
92
94
|
"icon": "fas fa-box-alt",
|
|
@@ -159,6 +161,8 @@
|
|
|
159
161
|
{
|
|
160
162
|
"title": "Rapid Delivery",
|
|
161
163
|
"subtotal": "£53.65",
|
|
164
|
+
"subtotalExcVat": "£44.71",
|
|
165
|
+
"switchVat": true,
|
|
162
166
|
"track": "#",
|
|
163
167
|
"deliveryRange": [
|
|
164
168
|
{
|
|
@@ -202,6 +206,8 @@
|
|
|
202
206
|
{
|
|
203
207
|
"title": "Wickes Delivery",
|
|
204
208
|
"subtotal": "£53.65",
|
|
209
|
+
"subtotalExcVat": "£44.71",
|
|
210
|
+
"switchVat": true,
|
|
205
211
|
"track": "#",
|
|
206
212
|
"deliveryRange": [
|
|
207
213
|
{
|
|
@@ -263,6 +269,8 @@
|
|
|
263
269
|
"title": "Supplier Delivery",
|
|
264
270
|
"supplier": true,
|
|
265
271
|
"subtotal": "£53.65",
|
|
272
|
+
"subtotalExcVat": "£44.71",
|
|
273
|
+
"switchVat": true,
|
|
266
274
|
"deliveryRange": [
|
|
267
275
|
{
|
|
268
276
|
"icon": "fas fa-box-alt",
|