wickes-css2 2.103.0-develop.8 → 2.103.0-develop.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/build/css/category-main.css +1 -1
  2. package/build/css/homepage-main.css +1 -1
  3. package/build/css/kitchen-plp-main.css +1 -1
  4. package/build/css/main.css +1 -1
  5. package/build/css/my-account-main-v2.css +1 -1
  6. package/build/css/my-account-main.css +1 -1
  7. package/build/css/pdp-main-before-combine.css +1 -1
  8. package/build/css/pdp-main-non-critical.css +1 -1
  9. package/build/css/pdp-main.css +1 -1
  10. package/build/css/plp-main.css +1 -1
  11. package/build/css/store-locator-main.css +1 -1
  12. package/build/js/basket.min.js +2 -2
  13. package/build/js/bundle.min.js +1 -1
  14. package/build/js/checkout.min.js +2 -2
  15. package/build/js/emulation.min.js +954 -10
  16. package/build/js/general.bundle.min.js +1 -1
  17. package/build/js/merged-checkout.min.js +2 -2
  18. package/build/js/mini-basket-slider.min.js +1 -0
  19. package/build/js/page/basket/basket-update-cart-action.js +59 -0
  20. package/build/js/page/basket/basket-update-cart.js +29 -0
  21. package/build/js/page/basket/basket-utils.js +50 -0
  22. package/build/js/page/basket/mini-basket-total.js +97 -0
  23. package/build/js/page/basket/quantity-change-handler.js +64 -0
  24. package/build/js/page/basket/update-quantity-operation.js +37 -0
  25. package/build/js/page/basket/update-quantity.js +65 -0
  26. package/build/js/page/basket-v2.js +138 -244
  27. package/build/js/page/components/discounts.js +6 -6
  28. package/build/js/page/components/mini-basket-slider.js +569 -0
  29. package/build/js/pdp.bundle.min.js +1 -1
  30. package/build/js/plp.bundle.min.js +1 -1
  31. package/build/js/project-list.min.js +1 -1
  32. package/package.json +1 -1
  33. package/src/components/mini-basket/mini-basket-empty.hbs +3 -13
  34. package/src/components/mini-basket/mini-basket-order-item.hbs +73 -0
  35. package/src/components/mini-basket/mini-basket.hbs +32 -13
  36. package/src/components/mini-basket/product-item.hbs +37 -16
  37. package/src/data/data_confirmation-summary.json +4 -2
  38. package/src/data/data_mini-basket.json +4 -80
  39. package/src/js/components/general/cart-slider.js +4 -0
  40. package/src/js/components/general/create-popup-slider.js +5 -2
  41. package/src/js/emulation/custom-slider-emulation.js +4 -10
  42. package/src/js/emulation/mini-basket-data.js +949 -0
  43. package/src/js/page/basket/basket-update-cart-action.js +59 -0
  44. package/src/js/page/basket/basket-update-cart.js +29 -0
  45. package/src/js/page/basket/basket-utils.js +50 -0
  46. package/src/js/page/basket/mini-basket-total.js +97 -0
  47. package/src/js/page/basket/quantity-change-handler.js +64 -0
  48. package/src/js/page/basket/update-quantity-operation.js +37 -0
  49. package/src/js/page/basket/update-quantity.js +65 -0
  50. package/src/js/page/basket-v2.js +138 -244
  51. package/src/js/page/components/discounts.js +6 -6
  52. package/src/js/page/components/mini-basket-slider.js +569 -0
  53. package/src/layouts/base.hbs +0 -6
  54. package/src/partials/scripts.hbs +1 -0
  55. package/src/scss/components/_custom-slider.scss +131 -3
  56. package/src/scss/components/_popover-mini-basket.scss +0 -4
  57. package/src/js/components/general/mini-basket-slider.js +0 -8
@@ -0,0 +1,949 @@
1
+ var Wick = Wick || {};
2
+ Wick.MiniBasketData = (function () {
3
+ return {
4
+ updateQuantity: {
5
+ "statusCode": "lowStock",
6
+ "quantityAdded": 71,
7
+ "quantity": 0,
8
+ "entry": {
9
+ "entryNumber": 2,
10
+ "quantity": 74,
11
+ "basePrice": {
12
+ "currencyIso": "GBP",
13
+ "value": 5.0,
14
+ "priceType": "BUY",
15
+ "formattedValue": "£5.00",
16
+ "minQuantity": null,
17
+ "maxQuantity": null,
18
+ "currencySymbol": "£",
19
+ "wasPrice": null,
20
+ "infoUom": null,
21
+ "infoUomPrice": null,
22
+ "singleVolumePrice": null,
23
+ "vatRatePercentage": null,
24
+ "sellingUomDescription": null,
25
+ "formattedPriceWithoutCurrencySymbol": "5.00",
26
+ "pricing": null
27
+ },
28
+ "basePriceExcVat": {
29
+ "value": 4,
30
+ "formattedValue": "£4",
31
+ "currencyIso": "GBP",
32
+ "formattedPriceWithoutCurrencySymbol": "4"
33
+ },
34
+ "totalPrice": {
35
+ "currencyIso": "GBP",
36
+ "value": 20.0,
37
+ "priceType": "BUY",
38
+ "formattedValue": "£20.00",
39
+ "minQuantity": null,
40
+ "maxQuantity": null,
41
+ "currencySymbol": "£",
42
+ "wasPrice": null,
43
+ "infoUom": null,
44
+ "infoUomPrice": null,
45
+ "singleVolumePrice": null,
46
+ "vatRatePercentage": null,
47
+ "sellingUomDescription": null,
48
+ "formattedPriceWithoutCurrencySymbol": "20.00",
49
+ "pricing": null
50
+ },
51
+ "product": {
52
+ "code": "221100",
53
+ "name": "Blue Circle Ready To Use Postcrete - 20kg",
54
+ "url": "/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100",
55
+ "purchasable": true,
56
+ "stock": {
57
+ "stockLevelStatus": {
58
+ "code": "outOfStock",
59
+ "type": "StockLevelStatus"
60
+ },
61
+ "stockLevel": 0,
62
+ "stockThreshold": null,
63
+ "makeUnavailable": false,
64
+ "originalStockLevelStatus": {
65
+ "code": "outOfStock",
66
+ "type": "StockLevelStatus"
67
+ },
68
+ "exists": false,
69
+ "stockMessage": null
70
+ },
71
+ "availableForPickup": true,
72
+ "price": {
73
+ "currencyIso": "GBP",
74
+ "value": 5.0,
75
+ "priceType": "BUY",
76
+ "formattedValue": "£5.00",
77
+ "minQuantity": null,
78
+ "maxQuantity": null,
79
+ "currencySymbol": "£",
80
+ "wasPrice": null,
81
+ "infoUom": "KG",
82
+ "infoUomPrice": 0.25,
83
+ "singleVolumePrice": null,
84
+ "vatRatePercentage": 20.0,
85
+ "sellingUomDescription": null,
86
+ "formattedPriceWithoutCurrencySymbol": "5.00",
87
+ "pricing": null
88
+ },
89
+ "images": [
90
+ {
91
+ "imageType": "PRIMARY",
92
+ "format": "zoom",
93
+ "url": "//media.wickes.co.uk/is/image/wickes/largeNormal/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_00",
94
+ "altText": "Blue Circle Ready To Use Postcrete - 20kg",
95
+ "galleryIndex": null,
96
+ "width": null
97
+ },
98
+ {
99
+ "imageType": "PRIMARY",
100
+ "format": "product",
101
+ "url": "//media.wickes.co.uk/is/image/wickes/normal/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_00",
102
+ "altText": "Blue Circle Ready To Use Postcrete - 20kg",
103
+ "galleryIndex": null,
104
+ "width": null
105
+ },
106
+ {
107
+ "imageType": "PRIMARY",
108
+ "format": "thumbnail",
109
+ "url": "//media.wickes.co.uk/is/image/wickes/thumbnail/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_00",
110
+ "altText": "Blue Circle Ready To Use Postcrete - 20kg",
111
+ "galleryIndex": null,
112
+ "width": null
113
+ },
114
+ {
115
+ "imageType": "PRIMARY",
116
+ "format": "cartIcon",
117
+ "url": "//media.wickes.co.uk/is/image/wickes/smallThumbnail/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_00",
118
+ "altText": "Blue Circle Ready To Use Postcrete - 20kg",
119
+ "galleryIndex": null,
120
+ "width": null
121
+ }
122
+ ],
123
+ "categories": [
124
+ {
125
+ "code": "1000208",
126
+ "name": "Cement",
127
+ "url": "/Products/Building-Materials/Cement+Aggregates/Cement/c/1000208",
128
+ "description": null,
129
+ "image": null,
130
+ "parentCategoryName": null,
131
+ "sequence": 0
132
+ },
133
+ {
134
+ "code": "1000211",
135
+ "name": "Concrete",
136
+ "url": "/Products/Building-Materials/Cement+Aggregates/Concrete/c/1000211",
137
+ "description": null,
138
+ "image": null,
139
+ "parentCategoryName": null,
140
+ "sequence": 0
141
+ }
142
+ ],
143
+ "baseOptions": [],
144
+ "volumePrices": [],
145
+ "configurable": false,
146
+ "imageSetId": "B3182_221100_IS",
147
+ "fulfilmentType": "STANDARD",
148
+ "noScriptProductImageUrl": "//media.wickes.co.uk/is/image/wickes/largeNormal/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_00?defaultImage=wickes/2018-Wickes-Missing-Product-650x650",
149
+ "sellOnly": false,
150
+ "externalAverageRating": 4.9,
151
+ "externalReviewCount": 4680,
152
+ "coshhSheetUrl": "//media.wickes.co.uk/documents/wickes/B3182_221100_COSHH_0",
153
+ "techSheetUrl": "//media.wickes.co.uk/documents/wickes/B3182_221100_TECH_0",
154
+ "priceInclusiveVat": {
155
+ "currencyIso": "GBP",
156
+ "value": 5.0,
157
+ "priceType": "BUY",
158
+ "formattedValue": "£5.00",
159
+ "minQuantity": null,
160
+ "maxQuantity": null,
161
+ "currencySymbol": "£",
162
+ "wasPrice": null,
163
+ "infoUom": "KG",
164
+ "infoUomPrice": 0.25,
165
+ "singleVolumePrice": null,
166
+ "vatRatePercentage": 20.0,
167
+ "sellingUomDescription": null,
168
+ "formattedPriceWithoutCurrencySymbol": "5.00",
169
+ "pricing": null
170
+ },
171
+ "priceExclusiveVat": {
172
+ "currencyIso": "GBP",
173
+ "value": 4.17,
174
+ "priceType": "BUY",
175
+ "formattedValue": "£4.17",
176
+ "minQuantity": null,
177
+ "maxQuantity": null,
178
+ "currencySymbol": "£",
179
+ "wasPrice": null,
180
+ "infoUom": null,
181
+ "infoUomPrice": null,
182
+ "singleVolumePrice": null,
183
+ "vatRatePercentage": null,
184
+ "sellingUomDescription": null,
185
+ "formattedPriceWithoutCurrencySymbol": "4.17",
186
+ "pricing": null
187
+ },
188
+ "downStreamData": {
189
+ "description": "Blue Circle Ready To Use Postcrete - 20kg",
190
+ "fulfillmentType": "STANDARD",
191
+ "swapCode": "",
192
+ "productRanking": null,
193
+ "order": null
194
+ },
195
+ "categoryPath": "Products/Building Materials/Cement & Aggregates/Cement",
196
+ "hasDataSheets": true,
197
+ "coshhSheetList": [
198
+ {
199
+ "code": "B3182_221100_COSHH_0",
200
+ "description": null,
201
+ "altText": null,
202
+ "url": "//media.wickes.co.uk/documents/wickes/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_COSHH_0",
203
+ "downloadUrl": "//media.wickes.co.uk/documents/wickes/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_COSHH_0",
204
+ "size": null
205
+ }
206
+ ],
207
+ "dopSheetList": [],
208
+ "epdSheetList": [],
209
+ "gilSheetList": [
210
+ {
211
+ "code": "B3182_221100_GIL_0",
212
+ "description": null,
213
+ "altText": null,
214
+ "url": "//media.wickes.co.uk/documents/wickes/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_GIL_0",
215
+ "downloadUrl": "//media.wickes.co.uk/documents/wickes/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_GIL_0",
216
+ "size": null
217
+ }
218
+ ],
219
+ "techSheetList": [
220
+ {
221
+ "code": "B3182_221100_TECH_0",
222
+ "description": null,
223
+ "altText": null,
224
+ "url": "//media.wickes.co.uk/documents/wickes/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_TECH_0",
225
+ "downloadUrl": "//media.wickes.co.uk/documents/wickes/Cement-Blue-Circle-Ready-To-Use-Postcrete-20kg~B3182_221100_TECH_0",
226
+ "size": null
227
+ }
228
+ ],
229
+ "fulfillmentAttributes": {
230
+ "type": "STANDARD",
231
+ "leadTimeDays": 1,
232
+ "bigAndBulky": false,
233
+ "supplierDelivered": false,
234
+ "vision": false,
235
+ "assumedAlwaysInStock": false,
236
+ "webOnly": false,
237
+ "treatAsFulfillmentTypeOnCheckout": null
238
+ },
239
+ "minOrderQuantity": 1,
240
+ "gpid": "1000492390",
241
+ "ean": "5018719100152",
242
+ "isBaseProduct": false,
243
+ "brandName": "Blue Circle",
244
+ "scene7FlyoutViewerISCommand": "",
245
+ "availableForShoppingList": false,
246
+ "installationDetails": {
247
+ "packCoverage": 0.0,
248
+ "pricePerPack": 5.0,
249
+ "pricePerPackInPence": 500,
250
+ "pricePerSQM": 0.0,
251
+ "width": 0.0,
252
+ "length": 0.0,
253
+ "material": "",
254
+ "packQuantity": 0,
255
+ "doesNotContainRequiredAttributes": null
256
+ },
257
+ "tileInstallationAvailable": false,
258
+ "tileCalculationAvailable": false,
259
+ "flooringInstallationAvailable": false,
260
+ "flooringCalculationAvailable": false,
261
+ "installationProduct": false,
262
+ "availabilityRestriction": "NO_RESTRICTIONS",
263
+ "availableForBigWinsCncOnly": false,
264
+ "availableForBigWinsStockOnly": false
265
+ },
266
+ "updateable": true,
267
+ "deliveryMode": null,
268
+ "deliveryPointOfService": {
269
+ "name": "8973",
270
+ "displayName": null,
271
+ "url": null,
272
+ "description": "NDS Wickes Chadwell Heath",
273
+ "openingHours": null,
274
+ "storeContent": null,
275
+ "features": {},
276
+ "geoPoint": {
277
+ "latitude": 51.566937,
278
+ "longitude": 0.117506
279
+ },
280
+ "formattedDistance": null,
281
+ "distanceKm": null,
282
+ "mapIcon": null,
283
+ "address": {
284
+ "id": "10089029042199",
285
+ "title": null,
286
+ "titleCode": null,
287
+ "firstName": null,
288
+ "lastName": null,
289
+ "companyName": "Wickes",
290
+ "line1": "WICKES, 850 HIGH ROAD",
291
+ "line2": "CHADWELL HEATH",
292
+ "town": "ROMFORD",
293
+ "region": null,
294
+ "postalCode": "RM6 4HX",
295
+ "phone": "020 8590 1116",
296
+ "email": "",
297
+ "country": {
298
+ "isocode": "GB",
299
+ "name": "United Kingdom"
300
+ },
301
+ "shippingAddress": false,
302
+ "billingAddress": false,
303
+ "defaultAddress": false,
304
+ "visibleInAddressBook": true,
305
+ "formattedAddress": "WICKES, 850 HIGH ROAD, CHADWELL HEATH, ROMFORD, RM6 4HX, United Kingdom",
306
+ "contactAddress": false,
307
+ "mobile": null,
308
+ "fax": "123456",
309
+ "regionString": null,
310
+ "cardHolderName": null,
311
+ "businessAddress": false,
312
+ "createdTimestamp": null
313
+ },
314
+ "storeImages": [],
315
+ "brand": "Wickes",
316
+ "buyAndCollect": null,
317
+ "loadingRestriction": null,
318
+ "specificInfo": "",
319
+ "satNavPostcode": null,
320
+ "seoText": null,
321
+ "productRanges": [],
322
+ "metaTitle": null,
323
+ "metaDescription": null,
324
+ "h1": null
325
+ },
326
+ "entries": null,
327
+ "configurationInfos": [],
328
+ "statusSummaryMap": {},
329
+ "entryGroupNumbers": [],
330
+ "comments": [],
331
+ "supportedActions": [
332
+ "REMOVE"
333
+ ],
334
+ "taxValues": [
335
+ {
336
+ "code": "uk-vat-full",
337
+ "value": 20.0,
338
+ "appliedValue": 61.67,
339
+ "absolute": false,
340
+ "currencyIsoCode": "GBP"
341
+ }
342
+ ],
343
+ "deliveryModeType": "PICKUP",
344
+ "fulfilmentRouting": null,
345
+ "collection": true,
346
+ "charity": false,
347
+ "leadTime": null,
348
+ "leadTimeExtended": null,
349
+ "itemTotalWithoutDiscount": {
350
+ "currencyIso": "GBP",
351
+ "value": 3700.0,
352
+ "priceType": "BUY",
353
+ "formattedValue": "£20.00",
354
+ "minQuantity": null,
355
+ "maxQuantity": null,
356
+ "currencySymbol": "£",
357
+ "wasPrice": null,
358
+ "infoUom": null,
359
+ "infoUomPrice": null,
360
+ "singleVolumePrice": null,
361
+ "vatRatePercentage": null,
362
+ "sellingUomDescription": null,
363
+ "formattedPriceWithoutCurrencySymbol": "20.00",
364
+ "pricing": null
365
+ },
366
+ "itemTotalWithoutDiscountExcVat": {
367
+ "value": 19,
368
+ "formattedValue": "£19",
369
+ "currencyIso": "GBP",
370
+ "formattedPriceWithoutCurrencySymbol": "19"
371
+ },
372
+ "appliedPromotions": null,
373
+ "tilingInstallationData": null,
374
+ "flooringInstallationData": null,
375
+ "alerts": null,
376
+ "orderFulfilmentControls": {
377
+ "availableForCollection": true,
378
+ "availableForDelivery": true,
379
+ "availableForWickesFulfilment": false
380
+ },
381
+ },
382
+ "deliveryModeChanged": null,
383
+ "cartCode": "663467017",
384
+ "statusMessage": "accConfirmedMsgs",
385
+ "entryGroupNumbers": null,
386
+ "message": "The Basket quantity of <a href=\"/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100\" style=\"text-decoration: underline\">Blue Circle Ready To Use Postcrete - 20kg</a> has been reduced to 74 from 100 due to insufficient stock."
387
+ },
388
+ initialCartState: {
389
+ "code": "696252001",
390
+ "subTotal": {"value": 10.0, "formattedValue": "£10.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "10.00"},
391
+ "totalTax": {"value": 3.17, "formattedValue": "£3.17", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "3.17"},
392
+ "deliveryCost": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
393
+ "charityPrice": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
394
+ "totalDiscounts": {"value": 5.0, "formattedValue": "£5.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "5.00"},
395
+ "totalPrice": {"value": 10.0, "formattedValue": "£10.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "10.00"},
396
+ "potentialProductPromotions": [],
397
+ "appliedProductPromotions": [],
398
+ "appliedOrderPromotions": [],
399
+ "promotionsInfo": null,
400
+ "clickAndCollectOnly": true,
401
+ "deliveryItemsQuantity": 1,
402
+ "pickupItemsQuantity": 2,
403
+ "freeDelivery": false,
404
+ "subtotalWithoutCharity": {"value": 10.0, "formattedValue": "£10.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "10.00"},
405
+ "messageForFreeDelivery": null,
406
+ "pickupOrderGroups": [
407
+ {
408
+ "entries": [
409
+ {
410
+ "entryNumber": 0,
411
+ "quantity": 2,
412
+ "basePrice": {
413
+ "value": 100.0,
414
+ "formattedValue": "£100",
415
+ "currencyIso": "GBP",
416
+ "formattedPriceWithoutCurrencySymbol": "100"
417
+ },
418
+ "basePriceExcVat": {
419
+ "value": 10,
420
+ "formattedValue": "10",
421
+ "currencyIso": "GBP",
422
+ "formattedPriceWithoutCurrencySymbol": "10"
423
+ },
424
+ "product": {
425
+ "code": "221100",
426
+ "name": "Blue Circle Ready To Use Postcrete - 20kg",
427
+ "url": "/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100",
428
+ "minOrderQuantity": 0,
429
+ "maxOrderQuantity": null,
430
+ "fulfillmentAttributes": {
431
+ "type": "STANDARD_STORE_DELIVERED",
432
+ "leadTimeDays": 1,
433
+ "supplierDelivered": false
434
+ },
435
+ "price": {
436
+ "value": 100.0,
437
+ "formattedValue": "£100",
438
+ "currencyIso": "GBP",
439
+ "formattedPriceWithoutCurrencySymbol": "100"
440
+ },
441
+ "categoryPath": "Products/Building Materials/Cement & Aggregates/Cement",
442
+ "brandName": "Blue Circle",
443
+ "categories": [
444
+ {
445
+ "code": "1000208",
446
+ "name": "Cement"
447
+ },
448
+ {
449
+ "code": "1000211",
450
+ "name": "Concrete"
451
+ }
452
+ ],
453
+ "image": {
454
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109450_00?$normal$",
455
+ "altText": "Blue Circle Ready To Use Postcrete - 20kg"
456
+ },
457
+ "pricePerSqm": 0.0,
458
+ "installationProduct": false
459
+ },
460
+ "updateable": true,
461
+ "deliveryPointOfService": {
462
+ "name": "8901",
463
+ "description": "WX Test Store 12"
464
+ },
465
+ "charity": false,
466
+ "itemTotalWithoutDiscount": {
467
+ "value": 100.0,
468
+ "formattedValue": "£100",
469
+ "currencyIso": "GBP",
470
+ "formattedPriceWithoutCurrencySymbol": "100"
471
+ },
472
+ "itemTotalWithoutDiscountExcVat": {
473
+ "value": 99,
474
+ "formattedValue": "£99",
475
+ "currencyIso": "GBP",
476
+ "formattedPriceWithoutCurrencySymbol": "99"
477
+ },
478
+ "orderFulfilmentControls": {
479
+ "availableForDelivery": true,
480
+ "availableForCollection": true,
481
+ "availableForWickesFulfilment": false
482
+ }
483
+ }
484
+ ],
485
+ "quantity": 1,
486
+ "totalPrice": {
487
+ "value": 100.0,
488
+ "formattedValue": "£100.00",
489
+ "currencyIso": "GBP",
490
+ "formattedPriceWithoutCurrencySymbol": "100.00"
491
+ }
492
+ },
493
+ {
494
+ "entries": [
495
+ {
496
+ "entryNumber": 1,
497
+ "quantity": 2,
498
+ "basePrice": {
499
+ "value": 9.0,
500
+ "formattedValue": "£9",
501
+ "currencyIso": "GBP",
502
+ "formattedPriceWithoutCurrencySymbol": "9"
503
+ },
504
+ "basePriceExcVat": {
505
+ "value": 9,
506
+ "formattedValue": "£9",
507
+ "currencyIso": "GBP",
508
+ "formattedPriceWithoutCurrencySymbol": "9"
509
+ },
510
+ "product": {
511
+ "code": "109450",
512
+ "name": "Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²",
513
+ "url": "/Knauf-Insulation-Space-Standard-Top-Up-170mm-Loft-Roll---6-47m%C2%B2/p/109450",
514
+ "minOrderQuantity": 0,
515
+ "maxOrderQuantity": null,
516
+ "fulfillmentAttributes": {
517
+ "type": "HOURLY_STANDARD",
518
+ "leadTimeDays": 1,
519
+ "supplierDelivered": false
520
+ },
521
+ "price": {
522
+ "value": 8.0,
523
+ "formattedValue": "£8",
524
+ "currencyIso": "GBP",
525
+ "formattedPriceWithoutCurrencySymbol": "8"
526
+ },
527
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
528
+ "brandName": "Knauf Insulation",
529
+ "categories": [
530
+ {
531
+ "code": "1000270",
532
+ "name": "Loft Insulation"
533
+ }
534
+ ],
535
+ "image": {
536
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109450_00?$normal$",
537
+ "altText": "Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²"
538
+ },
539
+ "pricePerSqm": 0.0,
540
+ "installationProduct": false
541
+ },
542
+ "updateable": true,
543
+ "deliveryPointOfService": {
544
+ "name": "8397",
545
+ "description": "WATFORD"
546
+ },
547
+ "charity": false,
548
+ "itemTotalWithoutDiscount": {
549
+ "value": 8.0,
550
+ "formattedValue": "£8",
551
+ "currencyIso": "GBP",
552
+ "formattedPriceWithoutCurrencySymbol": "8"
553
+ },
554
+ "itemTotalWithoutDiscountExcVat": {
555
+ "value": 23,
556
+ "formattedValue": "£23",
557
+ "currencyIso": "GBP",
558
+ "formattedPriceWithoutCurrencySymbol": "23"
559
+ },
560
+ "orderFulfilmentControls": {
561
+ "availableForDelivery": true,
562
+ "availableForCollection": true,
563
+ "availableForWickesFulfilment": false
564
+ }
565
+ },
566
+ ],
567
+ "quantity": 2,
568
+ "totalPrice": {
569
+ "value": 40.5,
570
+ "formattedValue": "£40.50",
571
+ "currencyIso": "GBP",
572
+ "formattedPriceWithoutCurrencySymbol": "40.50"
573
+ }
574
+ },
575
+ ],
576
+ "deliveryOrderGroups": [
577
+ {
578
+ "entries": [
579
+ {
580
+ "entryNumber": 4,
581
+ "quantity": 1,
582
+ "basePrice": {
583
+ "value": 25.0,
584
+ "formattedValue": "£25",
585
+ "currencyIso": "GBP",
586
+ "formattedPriceWithoutCurrencySymbol": "25"
587
+ },
588
+ "basePriceExcVat": {
589
+ "value": 8,
590
+ "formattedValue": "£8",
591
+ "currencyIso": "GBP",
592
+ "formattedPriceWithoutCurrencySymbol": "8"
593
+ },
594
+ "product": {
595
+ "code": "123143",
596
+ "name": "6 Wickes General Purpose Claw test",
597
+ "url": "/Knauf-Insulation-Super-Top-Up-200mm-Loft-Roll---5-61m%C2%B2/p/109451",
598
+ "minOrderQuantity": 0,
599
+ "maxOrderQuantity": null,
600
+ "fulfillmentAttributes": {
601
+ "type": "STANDARD",
602
+ "leadTimeDays": 1,
603
+ "supplierDelivered": false
604
+ },
605
+ "price": {
606
+ "value": 25.0,
607
+ "formattedValue": "£25",
608
+ "currencyIso": "GBP",
609
+ "formattedPriceWithoutCurrencySymbol": "25"
610
+ },
611
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
612
+ "brandName": "Knauf Insulation",
613
+ "categories": [
614
+ {
615
+ "code": "1000270",
616
+ "name": "Loft Insulation"
617
+ }
618
+ ],
619
+ "image": {
620
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109451_00?$normal$",
621
+ "altText": "Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²"
622
+ },
623
+ "pricePerSqm": 0.0,
624
+ "installationProduct": false
625
+ },
626
+ "updateable": true,
627
+ "deliveryPointOfService": null,
628
+ "charity": false,
629
+ "itemTotalWithoutDiscount": {
630
+ "value": 25.0,
631
+ "formattedValue": "£25",
632
+ "currencyIso": "GBP",
633
+ "formattedPriceWithoutCurrencySymbol": "25"
634
+ },
635
+ "itemTotalWithoutDiscountExcVat": {
636
+ "value": 24,
637
+ "formattedValue": "£24",
638
+ "currencyIso": "GBP",
639
+ "formattedPriceWithoutCurrencySymbol": "24"
640
+ },
641
+ "orderFulfilmentControls": {
642
+ "availableForDelivery": true,
643
+ "availableForCollection": true,
644
+ "availableForWickesFulfilment": false
645
+ }
646
+ }
647
+ ],
648
+ "quantity": null,
649
+ "totalPrice": {
650
+ "value": 25.0,
651
+ "formattedValue": "£25.00",
652
+ "currencyIso": "GBP",
653
+ "formattedPriceWithoutCurrencySymbol": "25.00"
654
+ }
655
+ }
656
+ ],
657
+ "paymentInfos": {"payPalEnabled": true, "payPalPaymentInfo": {"id": 123, "payer": "John.doe123@gmail.com"}},
658
+ "payPalEnabled": true,
659
+ "deliveryAddress": null,
660
+ "pickupUniqueItemsNumber": 3,
661
+ "deliveryUniqueItemsNumber": 1,
662
+ "totalUnitCount": 3,
663
+ "orderType": "CC"
664
+ },
665
+ initialCartEmptyState: {
666
+ "code": "696252001",
667
+ "subTotal": {"value": 10.0, "formattedValue": "£10.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "10.00"},
668
+ "totalTax": {"value": 3.17, "formattedValue": "£3.17", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "3.17"},
669
+ "deliveryCost": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
670
+ "charityPrice": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
671
+ "totalDiscounts": {"value": 5.0, "formattedValue": "£5.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "5.00"},
672
+ "totalPrice": {"value": 10.0, "formattedValue": "£10.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "10.00"},
673
+ "potentialProductPromotions": [],
674
+ "appliedProductPromotions": [],
675
+ "appliedOrderPromotions": [],
676
+ "promotionsInfo": null,
677
+ "clickAndCollectOnly": true,
678
+ "deliveryItemsQuantity": 1,
679
+ "pickupItemsQuantity": 2,
680
+ "freeDelivery": false,
681
+ "subtotalWithoutCharity": {"value": 10.0, "formattedValue": "£10.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "10.00"},
682
+ "messageForFreeDelivery": null,
683
+ "pickupOrderGroups": [],
684
+ "deliveryOrderGroups": [],
685
+ "paymentInfos": {"payPalEnabled": true, "payPalPaymentInfo": {"id": 123, "payer": "John.doe123@gmail.com"}},
686
+ "payPalEnabled": true,
687
+ "deliveryAddress": null,
688
+ "pickupUniqueItemsNumber": 3,
689
+ "deliveryUniqueItemsNumber": 1,
690
+ "totalUnitCount": 4,
691
+ "orderType": "CC"
692
+ },
693
+ updateCart: {
694
+ "code": "696252002",
695
+ "subTotal": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
696
+ "totalTax": {"value": 3.17, "formattedValue": "£3.17", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "3.17"},
697
+ "deliveryCost": {"value": 1.1, "formattedValue": "£1.10", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "1.10"},
698
+ "charityPrice": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
699
+ "totalDiscounts": {"value": 5.0, "formattedValue": "£5.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "5.00"},
700
+ "totalPrice": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
701
+ "potentialProductPromotions": [
702
+ {
703
+ "description": "Buy more to qualify for our buy 3 get 1 free offer",
704
+ "promotionData": {
705
+ "code": "TD_ProductBOGOFPromotionPotential",
706
+ "title": null,
707
+ "startDate": null,
708
+ "endDate": null,
709
+ "description": "Buy 3 get 1 free"
710
+ },
711
+ "consumedEntries": [
712
+ {
713
+ "orderEntryNumber": 1,
714
+ "quantity": 4
715
+ },
716
+ {
717
+ "orderEntryNumber": 2,
718
+ "quantity": 1
719
+ }
720
+ ],
721
+ "usedCouponCode": null
722
+ }
723
+ ],
724
+ "appliedProductPromotions": [
725
+ {
726
+ "description": "These item qualify for our buy 3 get 1 free offer - You have saved £36.00",
727
+ "promotionData": {
728
+ "code": "TD_ProductBOGOFPromotion",
729
+ "title": null,
730
+ "startDate": null,
731
+ "endDate": null,
732
+ "description": "Buy 3 get 1 free"
733
+ },
734
+ "consumedEntries": [
735
+ {
736
+ "orderEntryNumber": 1,
737
+ "quantity": 2
738
+ },
739
+ {
740
+ "orderEntryNumber": 2,
741
+ "quantity": 1
742
+ },
743
+ {
744
+ "orderEntryNumber": 1,
745
+ "quantity": 5
746
+ }
747
+ ],
748
+ "usedCouponCode": null
749
+ }
750
+ ],
751
+ "appliedOrderPromotions": [],
752
+ "promotionsInfo": [
753
+ {
754
+ "description": "Buy 3 get 1 free",
755
+ "usedCouponCode": ""
756
+ }
757
+ ],
758
+ "clickAndCollectOnly": false,
759
+ "deliveryItemsQuantity": 1,
760
+ "pickupItemsQuantity": 2,
761
+ "freeDelivery": true,
762
+ "subtotalWithoutCharity": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
763
+ "messageForFreeDelivery": "Free delivery<i class=\"icon fas fa-check\"></i>",
764
+ "pickupOrderGroups": [
765
+ {
766
+ "entries": [
767
+ {
768
+ "entryNumber": 1,
769
+ "quantity": 2,
770
+ "basePrice": {
771
+ "value": 16.0,
772
+ "formattedValue": "£16",
773
+ "currencyIso": "GBP",
774
+ "formattedPriceWithoutCurrencySymbol": "16"
775
+ },
776
+ "basePriceExcVat": {
777
+ "value": 18,
778
+ "formattedValue": "£18",
779
+ "currencyIso": "GBP",
780
+ "formattedPriceWithoutCurrencySymbol": "18"
781
+ },
782
+ "product": {
783
+ "code": "109450",
784
+ "name": "Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²",
785
+ "url": "/Knauf-Insulation-Space-Standard-Top-Up-170mm-Loft-Roll---6-47m%C2%B2/p/109450",
786
+ "minOrderQuantity": 0,
787
+ "maxOrderQuantity": null,
788
+ "fulfillmentAttributes": {
789
+ "type": "HOURLY_STANDARD",
790
+ "leadTimeDays": 1,
791
+ "supplierDelivered": false
792
+ },
793
+ "price": {
794
+ "value": 24.0,
795
+ "formattedValue": "£24",
796
+ "currencyIso": "GBP",
797
+ "formattedPriceWithoutCurrencySymbol": "24"
798
+ },
799
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
800
+ "brandName": "Knauf Insulation",
801
+ "categories": [
802
+ {
803
+ "code": "1000270",
804
+ "name": "Loft Insulation"
805
+ }
806
+ ],
807
+ "image": {
808
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109450_00?$normal$",
809
+ "altText": "Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²"
810
+ },
811
+ "pricePerSqm": 0.0,
812
+ "installationProduct": false
813
+ },
814
+ "updateable": true,
815
+ "deliveryPointOfService": {
816
+ "name": "8397",
817
+ "description": "WATFORD"
818
+ },
819
+ "charity": false,
820
+ "itemTotalWithoutDiscount": {
821
+ "value": 24.0,
822
+ "formattedValue": "£24",
823
+ "currencyIso": "GBP",
824
+ "formattedPriceWithoutCurrencySymbol": "24"
825
+ },
826
+ "itemTotalWithoutDiscountExcVat": {
827
+ "value": 23,
828
+ "formattedValue": "£23",
829
+ "currencyIso": "GBP",
830
+ "formattedPriceWithoutCurrencySymbol": "23"
831
+ },
832
+ "orderFulfilmentControls": {
833
+ "availableForDelivery": true,
834
+ "availableForCollection": true,
835
+ "availableForWickesFulfilment": false
836
+ }
837
+ }
838
+ ],
839
+ "quantity": 1,
840
+ "totalPrice": {
841
+ "value": 40.5,
842
+ "formattedValue": "£40.50",
843
+ "currencyIso": "GBP",
844
+ "formattedPriceWithoutCurrencySymbol": "40.50"
845
+ }
846
+ }
847
+ ],
848
+ "deliveryOrderGroups": [
849
+ {
850
+ "entries": [
851
+ {
852
+ "entryNumber": 3,
853
+ "quantity": 3,
854
+ "basePrice": {
855
+ "value": 25.0,
856
+ "formattedValue": "£25",
857
+ "currencyIso": "GBP",
858
+ "formattedPriceWithoutCurrencySymbol": "25"
859
+ },
860
+ "basePriceExcVat": {
861
+ "value": 24,
862
+ "formattedValue": "£24",
863
+ "currencyIso": "GBP",
864
+ "formattedPriceWithoutCurrencySymbol": "24"
865
+ },
866
+ "product": {
867
+ "code": "109451",
868
+ "name": "Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²",
869
+ "url": "/Knauf-Insulation-Super-Top-Up-200mm-Loft-Roll---5-61m%C2%B2/p/109451",
870
+ "minOrderQuantity": 0,
871
+ "maxOrderQuantity": null,
872
+ "fulfillmentAttributes": {
873
+ "type": "STANDARD",
874
+ "leadTimeDays": 1,
875
+ "supplierDelivered": false
876
+ },
877
+ "price": {
878
+ "value": 25.0,
879
+ "formattedValue": "£25",
880
+ "currencyIso": "GBP",
881
+ "formattedPriceWithoutCurrencySymbol": "25"
882
+ },
883
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
884
+ "brandName": "Knauf Insulation",
885
+ "categories": [
886
+ {
887
+ "code": "1000270",
888
+ "name": "Loft Insulation"
889
+ }
890
+ ],
891
+ "image": {
892
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109451_00?$normal$",
893
+ "altText": "Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²"
894
+ },
895
+ "pricePerSqm": {
896
+ "value": 17,
897
+ "formattedValue": "£17",
898
+ "currencyIso": "GBP",
899
+ "formattedPriceWithoutCurrencySymbol": "17"
900
+ },
901
+ "pricePerSqmExcVat": {
902
+ "value": 16,
903
+ "formattedValue": "£16",
904
+ "currencyIso": "GBP",
905
+ "formattedPriceWithoutCurrencySymbol": "16"
906
+ },
907
+ "installationProduct": true
908
+ },
909
+ "updateable": true,
910
+ "deliveryPointOfService": null,
911
+ "charity": false,
912
+ "itemTotalWithoutDiscount": {
913
+ "value": 25.0,
914
+ "formattedValue": "£25",
915
+ "currencyIso": "GBP",
916
+ "formattedPriceWithoutCurrencySymbol": "25"
917
+ },
918
+ "itemTotalWithoutDiscountExcVat": {
919
+ "value": 24,
920
+ "formattedValue": "£24",
921
+ "currencyIso": "GBP",
922
+ "formattedPriceWithoutCurrencySymbol": "24"
923
+ },
924
+ "orderFulfilmentControls": {
925
+ "availableForDelivery": true,
926
+ "availableForCollection": true,
927
+ "availableForWickesFulfilment": false
928
+ }
929
+ },
930
+ ],
931
+ "quantity": null,
932
+ "totalPrice": {
933
+ "value": 25.0,
934
+ "formattedValue": "£25.00",
935
+ "currencyIso": "GBP",
936
+ "formattedPriceWithoutCurrencySymbol": "25.00"
937
+ }
938
+ }
939
+ ],
940
+ "paymentInfos": {"payPalEnabled": true, "payPalPaymentInfo": {"id": 123, "payer": "John.doe123@gmail.com"}},
941
+ "payPalEnabled": true,
942
+ "deliveryAddress": null,
943
+ "pickupUniqueItemsNumber": 3,
944
+ "deliveryUniqueItemsNumber": 1,
945
+ "totalUnitCount": 2,
946
+ "orderType": "CC"
947
+ },
948
+ }
949
+ })();