wickes-css2 2.109.0-develop.4 → 2.109.0-develop.6

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.
@@ -69,18 +69,6 @@ Wick.BasketData = (function () {
69
69
  currencyIso: 'GBP',
70
70
  formattedPriceWithoutCurrencySymbol: '4',
71
71
  },
72
- displayBasePrice: {
73
- value: 5.0,
74
- formattedValue: '£5.00',
75
- currencyIso: 'GBP',
76
- formattedPriceWithoutCurrencySymbol: '5.00',
77
- },
78
- displayBasePriceExclusiveVat: {
79
- value: 4,
80
- formattedValue: '£4',
81
- currencyIso: 'GBP',
82
- formattedPriceWithoutCurrencySymbol: '4',
83
- },
84
72
  totalPrice: {
85
73
  currencyIso: 'GBP',
86
74
  value: 3700.0,
@@ -422,18 +410,6 @@ Wick.BasketData = (function () {
422
410
  currencyIso: 'GBP',
423
411
  formattedPriceWithoutCurrencySymbol: '3600',
424
412
  },
425
- displayItemTotalWithoutDiscount: {
426
- value: 3700.0,
427
- formattedValue: '£3700.00',
428
- currencyIso: 'GBP',
429
- formattedPriceWithoutCurrencySymbol: '3700.00',
430
- },
431
- displayItemTotalWithoutDiscountExclusiveVat: {
432
- value: 3600,
433
- formattedValue: '£3600',
434
- currencyIso: 'GBP',
435
- formattedPriceWithoutCurrencySymbol: '3600',
436
- },
437
413
  appliedPromotions: null,
438
414
  tilingInstallationData: null,
439
415
  flooringInstallationData: null,
@@ -522,18 +498,6 @@ Wick.BasketData = (function () {
522
498
  currencyIso: 'GBP',
523
499
  formattedPriceWithoutCurrencySymbol: '99',
524
500
  },
525
- displayBasePrice: {
526
- value: 100.0,
527
- formattedValue: '£100',
528
- currencyIso: 'GBP',
529
- formattedPriceWithoutCurrencySymbol: '100',
530
- },
531
- displayBasePriceExclusiveVat: {
532
- value: 99,
533
- formattedValue: '£99',
534
- currencyIso: 'GBP',
535
- formattedPriceWithoutCurrencySymbol: '99',
536
- },
537
501
  product: {
538
502
  code: '221100',
539
503
  name: 'Blue Circle Ready To Use Postcrete - 20kg',
@@ -589,18 +553,6 @@ Wick.BasketData = (function () {
589
553
  currencyIso: 'GBP',
590
554
  formattedPriceWithoutCurrencySymbol: '99',
591
555
  },
592
- displayItemTotalWithoutDiscount: {
593
- value: 100.0,
594
- formattedValue: '£100',
595
- currencyIso: 'GBP',
596
- formattedPriceWithoutCurrencySymbol: '100',
597
- },
598
- displayItemTotalWithoutDiscountExclusiveVat: {
599
- value: 99,
600
- formattedValue: '£99',
601
- currencyIso: 'GBP',
602
- formattedPriceWithoutCurrencySymbol: '99',
603
- },
604
556
  orderFulfilmentControls: {
605
557
  availableForDelivery: true,
606
558
  availableForCollection: true,
@@ -633,18 +585,6 @@ Wick.BasketData = (function () {
633
585
  currencyIso: 'GBP',
634
586
  formattedPriceWithoutCurrencySymbol: '23',
635
587
  },
636
- displayBasePrice: {
637
- value: 24.0,
638
- formattedValue: '£24',
639
- currencyIso: 'GBP',
640
- formattedPriceWithoutCurrencySymbol: '24',
641
- },
642
- displayBasePriceExclusiveVat: {
643
- value: 23,
644
- formattedValue: '£23',
645
- currencyIso: 'GBP',
646
- formattedPriceWithoutCurrencySymbol: '23',
647
- },
648
588
  product: {
649
589
  code: '109450',
650
590
  name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
@@ -697,18 +637,6 @@ Wick.BasketData = (function () {
697
637
  currencyIso: 'GBP',
698
638
  formattedPriceWithoutCurrencySymbol: '23',
699
639
  },
700
- displayItemTotalWithoutDiscount: {
701
- value: 24.0,
702
- formattedValue: '£24',
703
- currencyIso: 'GBP',
704
- formattedPriceWithoutCurrencySymbol: '24',
705
- },
706
- displayItemTotalWithoutDiscountExclusiveVat: {
707
- value: 23,
708
- formattedValue: '£23',
709
- currencyIso: 'GBP',
710
- formattedPriceWithoutCurrencySymbol: '23',
711
- },
712
640
  orderFulfilmentControls: {
713
641
  availableForDelivery: true,
714
642
  availableForCollection: true,
@@ -730,18 +658,6 @@ Wick.BasketData = (function () {
730
658
  currencyIso: 'GBP',
731
659
  formattedPriceWithoutCurrencySymbol: '0',
732
660
  },
733
- displayBasePrice: {
734
- value: 0.0,
735
- formattedValue: '£0',
736
- currencyIso: 'GBP',
737
- formattedPriceWithoutCurrencySymbol: '0',
738
- },
739
- displayBasePriceExclusiveVat: {
740
- value: 0,
741
- formattedValue: '£0',
742
- currencyIso: 'GBP',
743
- formattedPriceWithoutCurrencySymbol: '0',
744
- },
745
661
  product: {
746
662
  code: '103123',
747
663
  name: 'Wickes Passage Door Knob Set - Brass 1 Pair',
@@ -801,18 +717,6 @@ Wick.BasketData = (function () {
801
717
  currencyIso: 'GBP',
802
718
  formattedPriceWithoutCurrencySymbol: '0',
803
719
  },
804
- displayItemTotalWithoutDiscount: {
805
- value: 0.0,
806
- formattedValue: '£0',
807
- currencyIso: 'GBP',
808
- formattedPriceWithoutCurrencySymbol: '0',
809
- },
810
- displayItemTotalWithoutDiscountExclusiveVat: {
811
- value: 0,
812
- formattedValue: '£0',
813
- currencyIso: 'GBP',
814
- formattedPriceWithoutCurrencySymbol: '0',
815
- },
816
720
  orderFulfilmentControls: {
817
721
  availableForDelivery: true,
818
722
  availableForCollection: true,
@@ -847,18 +751,6 @@ Wick.BasketData = (function () {
847
751
  currencyIso: 'GBP',
848
752
  formattedPriceWithoutCurrencySymbol: '24',
849
753
  },
850
- displayBasePrice: {
851
- value: 25.0,
852
- formattedValue: '£25',
853
- currencyIso: 'GBP',
854
- formattedPriceWithoutCurrencySymbol: '25',
855
- },
856
- displayBasePriceExclusiveVat: {
857
- value: 24,
858
- formattedValue: '£24',
859
- currencyIso: 'GBP',
860
- formattedPriceWithoutCurrencySymbol: '24',
861
- },
862
754
  product: {
863
755
  code: '109451',
864
756
  name: 'Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²',
@@ -919,18 +811,6 @@ Wick.BasketData = (function () {
919
811
  currencyIso: 'GBP',
920
812
  formattedPriceWithoutCurrencySymbol: '24',
921
813
  },
922
- displayItemTotalWithoutDiscount: {
923
- value: 25.0,
924
- formattedValue: '£25',
925
- currencyIso: 'GBP',
926
- formattedPriceWithoutCurrencySymbol: '25',
927
- },
928
- displayItemTotalWithoutDiscountExclusiveVat: {
929
- value: 24,
930
- formattedValue: '£24',
931
- currencyIso: 'GBP',
932
- formattedPriceWithoutCurrencySymbol: '24',
933
- },
934
814
  orderFulfilmentControls: {
935
815
  availableForDelivery: true,
936
816
  availableForCollection: true,
@@ -952,18 +832,6 @@ Wick.BasketData = (function () {
952
832
  currencyIso: 'GBP',
953
833
  formattedPriceWithoutCurrencySymbol: '24',
954
834
  },
955
- displayBasePrice: {
956
- value: 25.0,
957
- formattedValue: '£25',
958
- currencyIso: 'GBP',
959
- formattedPriceWithoutCurrencySymbol: '25',
960
- },
961
- displayBasePriceExclusiveVat: {
962
- value: 24,
963
- formattedValue: '£24',
964
- currencyIso: 'GBP',
965
- formattedPriceWithoutCurrencySymbol: '24',
966
- },
967
835
  product: {
968
836
  code: '123143',
969
837
  name: '6 Wickes General Purpose Claw test',
@@ -1013,18 +881,6 @@ Wick.BasketData = (function () {
1013
881
  currencyIso: 'GBP',
1014
882
  formattedPriceWithoutCurrencySymbol: '24',
1015
883
  },
1016
- displayItemTotalWithoutDiscount: {
1017
- value: 25.0,
1018
- formattedValue: '£25',
1019
- currencyIso: 'GBP',
1020
- formattedPriceWithoutCurrencySymbol: '25',
1021
- },
1022
- displayItemTotalWithoutDiscountExclusiveVat: {
1023
- value: 24,
1024
- formattedValue: '£24',
1025
- currencyIso: 'GBP',
1026
- formattedPriceWithoutCurrencySymbol: '24',
1027
- },
1028
884
  orderFulfilmentControls: {
1029
885
  availableForDelivery: true,
1030
886
  availableForCollection: true,
@@ -1123,18 +979,6 @@ Wick.BasketData = (function () {
1123
979
  currencyIso: 'GBP',
1124
980
  formattedPriceWithoutCurrencySymbol: '99',
1125
981
  },
1126
- displayBasePrice: {
1127
- value: 100.0,
1128
- formattedValue: '£100',
1129
- currencyIso: 'GBP',
1130
- formattedPriceWithoutCurrencySymbol: '100',
1131
- },
1132
- displayBasePriceExclusiveVat: {
1133
- value: 99,
1134
- formattedValue: '£99',
1135
- currencyIso: 'GBP',
1136
- formattedPriceWithoutCurrencySymbol: '99',
1137
- },
1138
982
  product: {
1139
983
  code: '221100',
1140
984
  name: 'Blue Circle Ready To Use Postcrete - 20kg',
@@ -1190,18 +1034,6 @@ Wick.BasketData = (function () {
1190
1034
  currencyIso: 'GBP',
1191
1035
  formattedPriceWithoutCurrencySymbol: '99',
1192
1036
  },
1193
- displayItemTotalWithoutDiscount: {
1194
- value: 100.0,
1195
- formattedValue: '£100',
1196
- currencyIso: 'GBP',
1197
- formattedPriceWithoutCurrencySymbol: '100',
1198
- },
1199
- displayItemTotalWithoutDiscountExclusiveVat: {
1200
- value: 99,
1201
- formattedValue: '£99',
1202
- currencyIso: 'GBP',
1203
- formattedPriceWithoutCurrencySymbol: '99',
1204
- },
1205
1037
  orderFulfilmentControls: {
1206
1038
  availableForDelivery: true,
1207
1039
  availableForCollection: true,
@@ -1234,18 +1066,6 @@ Wick.BasketData = (function () {
1234
1066
  currencyIso: 'GBP',
1235
1067
  formattedPriceWithoutCurrencySymbol: '23',
1236
1068
  },
1237
- displayBasePrice: {
1238
- value: 24.0,
1239
- formattedValue: '£24',
1240
- currencyIso: 'GBP',
1241
- formattedPriceWithoutCurrencySymbol: '24',
1242
- },
1243
- displayBasePriceExclusiveVat: {
1244
- value: 23,
1245
- formattedValue: '£23',
1246
- currencyIso: 'GBP',
1247
- formattedPriceWithoutCurrencySymbol: '23',
1248
- },
1249
1069
  product: {
1250
1070
  code: '109450',
1251
1071
  name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
@@ -1298,18 +1118,6 @@ Wick.BasketData = (function () {
1298
1118
  currencyIso: 'GBP',
1299
1119
  formattedPriceWithoutCurrencySymbol: '23',
1300
1120
  },
1301
- displayItemTotalWithoutDiscount: {
1302
- value: 24.0,
1303
- formattedValue: '£24',
1304
- currencyIso: 'GBP',
1305
- formattedPriceWithoutCurrencySymbol: '24',
1306
- },
1307
- displayItemTotalWithoutDiscountExclusiveVat: {
1308
- value: 23,
1309
- formattedValue: '£23',
1310
- currencyIso: 'GBP',
1311
- formattedPriceWithoutCurrencySymbol: '23',
1312
- },
1313
1121
  orderFulfilmentControls: {
1314
1122
  availableForDelivery: true,
1315
1123
  availableForCollection: true,
@@ -1331,18 +1139,6 @@ Wick.BasketData = (function () {
1331
1139
  currencyIso: 'GBP',
1332
1140
  formattedPriceWithoutCurrencySymbol: '0',
1333
1141
  },
1334
- displayBasePrice: {
1335
- value: 0.0,
1336
- formattedValue: '£0',
1337
- currencyIso: 'GBP',
1338
- formattedPriceWithoutCurrencySymbol: '0',
1339
- },
1340
- displayBasePriceExclusiveVat: {
1341
- value: 0,
1342
- formattedValue: '£0',
1343
- currencyIso: 'GBP',
1344
- formattedPriceWithoutCurrencySymbol: '0',
1345
- },
1346
1142
  product: {
1347
1143
  code: '103123',
1348
1144
  name: 'Wickes Passage Door Knob Set - Brass 1 Pair',
@@ -1402,18 +1198,6 @@ Wick.BasketData = (function () {
1402
1198
  currencyIso: 'GBP',
1403
1199
  formattedPriceWithoutCurrencySymbol: '0',
1404
1200
  },
1405
- displayItemTotalWithoutDiscount: {
1406
- value: 0.0,
1407
- formattedValue: '£0',
1408
- currencyIso: 'GBP',
1409
- formattedPriceWithoutCurrencySymbol: '0',
1410
- },
1411
- displayItemTotalWithoutDiscountExclusiveVat: {
1412
- value: 0,
1413
- formattedValue: '£0',
1414
- currencyIso: 'GBP',
1415
- formattedPriceWithoutCurrencySymbol: '0',
1416
- },
1417
1201
  orderFulfilmentControls: {
1418
1202
  availableForDelivery: true,
1419
1203
  availableForCollection: true,
@@ -1448,18 +1232,6 @@ Wick.BasketData = (function () {
1448
1232
  currencyIso: 'GBP',
1449
1233
  formattedPriceWithoutCurrencySymbol: '24',
1450
1234
  },
1451
- displayBasePrice: {
1452
- value: 25.0,
1453
- formattedValue: '£25',
1454
- currencyIso: 'GBP',
1455
- formattedPriceWithoutCurrencySymbol: '25',
1456
- },
1457
- displayBasePriceExclusiveVat: {
1458
- value: 24,
1459
- formattedValue: '£24',
1460
- currencyIso: 'GBP',
1461
- formattedPriceWithoutCurrencySymbol: '24',
1462
- },
1463
1235
  product: {
1464
1236
  code: '109451',
1465
1237
  name: 'Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²',
@@ -1520,18 +1292,6 @@ Wick.BasketData = (function () {
1520
1292
  currencyIso: 'GBP',
1521
1293
  formattedPriceWithoutCurrencySymbol: '24',
1522
1294
  },
1523
- displayItemTotalWithoutDiscount: {
1524
- value: 25.0,
1525
- formattedValue: '£25',
1526
- currencyIso: 'GBP',
1527
- formattedPriceWithoutCurrencySymbol: '25',
1528
- },
1529
- displayItemTotalWithoutDiscountExclusiveVat: {
1530
- value: 24,
1531
- formattedValue: '£24',
1532
- currencyIso: 'GBP',
1533
- formattedPriceWithoutCurrencySymbol: '24',
1534
- },
1535
1295
  orderFulfilmentControls: {
1536
1296
  availableForDelivery: true,
1537
1297
  availableForCollection: true,
@@ -1553,18 +1313,6 @@ Wick.BasketData = (function () {
1553
1313
  currencyIso: 'GBP',
1554
1314
  formattedPriceWithoutCurrencySymbol: '24',
1555
1315
  },
1556
- displayBasePrice: {
1557
- value: 25.0,
1558
- formattedValue: '£25',
1559
- currencyIso: 'GBP',
1560
- formattedPriceWithoutCurrencySymbol: '25',
1561
- },
1562
- displayBasePriceExclusiveVat: {
1563
- value: 24,
1564
- formattedValue: '£24',
1565
- currencyIso: 'GBP',
1566
- formattedPriceWithoutCurrencySymbol: '24',
1567
- },
1568
1316
  product: {
1569
1317
  code: '123143',
1570
1318
  name: '6 Wickes General Purpose Claw test',
@@ -1614,18 +1362,6 @@ Wick.BasketData = (function () {
1614
1362
  currencyIso: 'GBP',
1615
1363
  formattedPriceWithoutCurrencySymbol: '24',
1616
1364
  },
1617
- displayItemTotalWithoutDiscount: {
1618
- value: 25.0,
1619
- formattedValue: '£25',
1620
- currencyIso: 'GBP',
1621
- formattedPriceWithoutCurrencySymbol: '25',
1622
- },
1623
- displayItemTotalWithoutDiscountExclusiveVat: {
1624
- value: 24,
1625
- formattedValue: '£24',
1626
- currencyIso: 'GBP',
1627
- formattedPriceWithoutCurrencySymbol: '24',
1628
- },
1629
1365
  orderFulfilmentControls: {
1630
1366
  availableForDelivery: true,
1631
1367
  availableForCollection: true,
@@ -1684,18 +1420,6 @@ Wick.BasketData = (function () {
1684
1420
  currencyIso: 'GBP',
1685
1421
  formattedPriceWithoutCurrencySymbol: '17',
1686
1422
  },
1687
- displayBasePrice: {
1688
- value: 18.0,
1689
- formattedValue: '£18.00',
1690
- currencyIso: 'GBP',
1691
- formattedPriceWithoutCurrencySymbol: '18.00',
1692
- },
1693
- displayBasePriceExclusiveVat: {
1694
- value: 17,
1695
- formattedValue: '£17',
1696
- currencyIso: 'GBP',
1697
- formattedPriceWithoutCurrencySymbol: '17',
1698
- },
1699
1423
  totalPrice: {
1700
1424
  currencyIso: 'GBP',
1701
1425
  value: 36.0,
@@ -2176,18 +1900,6 @@ Wick.BasketData = (function () {
2176
1900
  currencyIso: 'GBP',
2177
1901
  formattedPriceWithoutCurrencySymbol: '35',
2178
1902
  },
2179
- displayItemTotalWithoutDiscount: {
2180
- value: 36.0,
2181
- formattedValue: '£36.00',
2182
- currencyIso: 'GBP',
2183
- formattedPriceWithoutCurrencySymbol: '36.00',
2184
- },
2185
- displayItemTotalWithoutDiscountExclusiveVat: {
2186
- value: 35,
2187
- formattedValue: '£35',
2188
- currencyIso: 'GBP',
2189
- formattedPriceWithoutCurrencySymbol: '35',
2190
- },
2191
1903
  appliedPromotions: null,
2192
1904
  tilingInstallationData: null,
2193
1905
  flooringInstallationData: null,
@@ -2238,18 +1950,6 @@ Wick.BasketData = (function () {
2238
1950
  currencyIso: 'GBP',
2239
1951
  formattedPriceWithoutCurrencySymbol: '3',
2240
1952
  },
2241
- displayBasePrice: {
2242
- value: 4.0,
2243
- formattedValue: '£4.00',
2244
- currencyIso: 'GBP',
2245
- formattedPriceWithoutCurrencySymbol: '4.00',
2246
- },
2247
- displayBasePriceExclusiveVat: {
2248
- value: 3,
2249
- formattedValue: '£3',
2250
- currencyIso: 'GBP',
2251
- formattedPriceWithoutCurrencySymbol: '3',
2252
- },
2253
1953
  totalPrice: {
2254
1954
  currencyIso: 'GBP',
2255
1955
  value: 24.0,
@@ -2455,18 +2155,6 @@ Wick.BasketData = (function () {
2455
2155
  currencyIso: 'GBP',
2456
2156
  formattedPriceWithoutCurrencySymbol: '23',
2457
2157
  },
2458
- displayItemTotalWithoutDiscount: {
2459
- value: 24.0,
2460
- formattedValue: '£24.00',
2461
- currencyIso: 'GBP',
2462
- formattedPriceWithoutCurrencySymbol: '24.00',
2463
- },
2464
- displayItemTotalWithoutDiscountExclusiveVat: {
2465
- value: 23,
2466
- formattedValue: '£23',
2467
- currencyIso: 'GBP',
2468
- formattedPriceWithoutCurrencySymbol: '23',
2469
- },
2470
2158
  appliedPromotions: null,
2471
2159
  tilingInstallationData: null,
2472
2160
  flooringInstallationData: null,
@@ -277,13 +277,13 @@ Wick.BasketPage = {
277
277
  if (isSwitchVat) {
278
278
  const itemTotalIncVat = context.find(Wick.BasketPage.el.itemTotalIncVat);
279
279
  const itemTotalExcVat = context.find(Wick.BasketPage.el.itemTotalExcVat);
280
- const totalPrice = data.entry.displayItemTotalWithoutDiscount.formattedValue;
281
- const totalPriceExcVat = data.entry.displayItemTotalWithoutDiscountExclusiveVat.formattedValue;
280
+ const totalPrice = data.entry.itemTotalWithoutDiscount.formattedValue;
281
+ const totalPriceExcVat = data.entry.itemTotalWithoutDiscountExcVat.formattedValue;
282
282
  itemTotalIncVat.text(totalPrice);
283
283
  itemTotalExcVat.text(totalPriceExcVat);
284
284
  } else {
285
285
  const totalValue = context.find(Wick.BasketPage.el.itemTotal);
286
- const totalPrice = data.entry.displayItemTotalWithoutDiscount.formattedValue;
286
+ const totalPrice = data.entry.itemTotalWithoutDiscount.formattedValue;
287
287
  totalValue.text(totalPrice);
288
288
  }
289
289
  }
@@ -798,20 +798,20 @@ Wick.BasketPage = {
798
798
  <div class="order-item__price-title">Item price:</div>
799
799
  <div class="order-item__price-value">
800
800
  ${
801
- currentItem.displayBasePrice.value === 0
801
+ currentItem.basePrice.value === 0
802
802
  ? '<span class="order-item__value">FREE</span>'
803
803
  : Wick.VatToggle.isToggleVatAvailable()
804
804
  ? `
805
805
  <div class="including-vat"><!--
806
- --><span class="order-item__value">${currentItem.displayBasePrice.formattedValue}</span><!--
806
+ --><span class="order-item__value">${currentItem.basePrice.formattedValue}</span><!--
807
807
  --><div class="price-vat">Inc.VAT</div>
808
808
  </div>
809
809
  <div class="excluding-vat"><!--
810
- --><span class="order-item__value">${currentItem.displayBasePriceExclusiveVat.formattedValue}</span><!--
810
+ --><span class="order-item__value">${currentItem.basePriceExcVat.formattedValue}</span><!--
811
811
  --><div class="price-vat">Exc.VAT</div>
812
812
  </div>
813
813
  `
814
- : `<span class="order-item__value">${currentItem.displayBasePrice.formattedValue}</span>`
814
+ : `<span class="order-item__value">${currentItem.basePrice.formattedValue}</span>`
815
815
  }
816
816
  </div>
817
817
  </div>
@@ -820,20 +820,20 @@ Wick.BasketPage = {
820
820
  <div class="order-item__total-title">Item total:</div>
821
821
  <div class="order-item__total-value">
822
822
  ${
823
- currentItem.displayItemTotalWithoutDiscount.value === 0
823
+ currentItem.itemTotalWithoutDiscount.value === 0
824
824
  ? '<span class="order-item__value">FREE</span>'
825
825
  : Wick.VatToggle.isToggleVatAvailable()
826
826
  ? `
827
827
  <div class="including-vat"><!--
828
- --><span class="order-item__value">${currentItem.displayItemTotalWithoutDiscount.formattedValue}</span><!--
828
+ --><span class="order-item__value">${currentItem.itemTotalWithoutDiscount.formattedValue}</span><!--
829
829
  --><div class="price-vat">Inc.VAT</div><!--
830
830
  --></div>
831
831
  <div class="excluding-vat"><!--
832
- --><span class="order-item__value">${currentItem.displayItemTotalWithoutDiscountExclusiveVat.formattedValue}</span><!--
832
+ --><span class="order-item__value">${currentItem.itemTotalWithoutDiscountExcVat.formattedValue}</span><!--
833
833
  --><div class="price-vat">Exc.VAT</div>
834
834
  </div>
835
835
  `
836
- : `<span class="order-item__value">${currentItem.displayItemTotalWithoutDiscount.formattedValue}</span>`
836
+ : `<span class="order-item__value">${currentItem.itemTotalWithoutDiscount.formattedValue}</span>`
837
837
  }
838
838
  </div>
839
839
  </div>
@@ -912,16 +912,16 @@ Wick.BasketPage = {
912
912
  let duplicate = arr.every((el) => {
913
913
  return (
914
914
  el !==
915
- `<div class="order-item__promo">${entry.displayDescription}</div>`
915
+ `<div class="order-item__promo">${entry.description}</div>`
916
916
  );
917
917
  });
918
918
 
919
919
  !duplicate ||
920
920
  arr.push(
921
- `<div class="order-item__promo">${entry.displayDescription}</div>`
921
+ `<div class="order-item__promo">${entry.description}</div>`
922
922
  );
923
923
  } else {
924
- arr.push(`<div class="order-item__promo">${entry.displayDescription}</div>`);
924
+ arr.push(`<div class="order-item__promo">${entry.description}</div>`);
925
925
  }
926
926
  }
927
927
  });
@@ -930,21 +930,21 @@ Wick.BasketPage = {
930
930
  data.appliedProductPromotions &&
931
931
  data.appliedProductPromotions.forEach((entry) => {
932
932
  entry.consumedEntries.forEach((promo) => {
933
- if (promo.orderEntryNumber === item.entryNumber && entry.displayDescription) {
933
+ if (promo.orderEntryNumber === item.entryNumber && entry.description) {
934
934
  if (arr.length) {
935
935
  let duplicate = arr.every((el) => {
936
936
  return (
937
937
  el !==
938
- `<div class="order-item__promo">${entry.displayDescription}</div>`
938
+ `<div class="order-item__promo">${entry.description}</div>`
939
939
  );
940
940
  });
941
941
 
942
942
  !duplicate ||
943
943
  arr.push(
944
- `<div class="order-item__promo">${entry.displayDescription}</div>`
944
+ `<div class="order-item__promo">${entry.description}</div>`
945
945
  );
946
946
  } else {
947
- arr.push(`<div class="order-item__promo">${entry.displayDescription}</div>`);
947
+ arr.push(`<div class="order-item__promo">${entry.description}</div>`);
948
948
  }
949
949
  }
950
950
  });
@@ -1122,17 +1122,15 @@ Wick.BasketPage = {
1122
1122
  const arr = [];
1123
1123
  if (data.potentialOrderPromotions && data.potentialOrderPromotions.length) {
1124
1124
  data.potentialOrderPromotions.forEach((promo) => {
1125
- !promo.displayDescription ||
1125
+ !promo.description ||
1126
1126
  arr.push(`
1127
1127
  <div class="p-promotion">
1128
1128
  <div class="p-promotion__icon">
1129
1129
  <i class="icon fas fa-gift"></i>
1130
1130
  </div>
1131
- ${Wick.VatToggle.isToggleVatAvailable() && promo.displayDescriptionExclusiveVat
1132
- ? `<div class="p-promotion__description including-vat">${promo.displayDescription}</div>
1133
- <div class="p-promotion__description excluding-vat d-none">${promo.displayDescriptionExclusiveVat}</div>`
1134
- : `<div class="p-promotion__description">${promo.displayDescription}</div>`
1135
- }
1131
+ <div class="p-promotion__description">
1132
+ ${promo.description}
1133
+ </div>
1136
1134
  <div class="p-promotion__close">
1137
1135
  <i class="icon fas fa-times"></i>
1138
1136
  </div>
@@ -1143,17 +1141,15 @@ Wick.BasketPage = {
1143
1141
 
1144
1142
  if (data.appliedOrderPromotions && data.appliedOrderPromotions.length) {
1145
1143
  data.appliedOrderPromotions.forEach((promo) => {
1146
- !promo.displayDescription ||
1144
+ !promo.description ||
1147
1145
  arr.push(`
1148
1146
  <div class="p-promotion">
1149
1147
  <div class="p-promotion__icon">
1150
1148
  <i class="icon fas fa-gift"></i>
1151
1149
  </div>
1152
- ${Wick.VatToggle.isToggleVatAvailable() && promo.displayDescriptionExclusiveVat
1153
- ? `<div class="p-promotion__description including-vat">${promo.displayDescription}</div>
1154
- <div class="p-promotion__description excluding-vat d-none">${promo.displayDescriptionExclusiveVat}</div>`
1155
- : `<div class="p-promotion__description">${promo.displayDescription}</div>`
1156
- }
1150
+ <div class="p-promotion__description">
1151
+ ${promo.description}
1152
+ </div>
1157
1153
  <div class="p-promotion__close">
1158
1154
  <i class="icon fas fa-times"></i>
1159
1155
  </div>