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

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.
@@ -91,20 +91,20 @@
91
91
  <div class="order-item__price">
92
92
  <div class="order-item__price-title">Item price:</div>
93
93
  <div class="order-item__price-value">
94
- {{#ifvalue price value='0'}}
94
+ {{#ifvalue displayBasePrice value='0'}}
95
95
  <span class="order-item__value">FREE</span>
96
96
  {{else}}
97
97
  {{#if switch-vat}}
98
98
  <div class="including-vat">
99
- <span class="order-item__value">£{{price}}</span>
99
+ <span class="order-item__value">£{{displayBasePrice}}</span>
100
100
  <div class="price-vat">Inc.VAT</div>
101
101
  </div>
102
102
  <div class="excluding-vat d-none">
103
- <span class="order-item__value">£{{priceExcVat}}</span>
103
+ <span class="order-item__value">£{{displayBasePriceExclusiveVat}}</span>
104
104
  <div class="price-vat">Exc.VAT</div>
105
105
  </div>
106
106
  {{else}}
107
- <span class="order-item__value">£{{price}}</span>
107
+ <span class="order-item__value">£{{displayBasePrice}}</span>
108
108
  {{/if}}
109
109
  {{/ifvalue}}
110
110
  </div>
@@ -136,15 +136,15 @@
136
136
  {{else}}
137
137
  {{#if switch-vat}}
138
138
  <div class="including-vat">
139
- <span class="order-item__value">£{{total}}</span>
139
+ <span class="order-item__value">£{{displayItemTotalWithoutDiscount}}</span>
140
140
  <div class="price-vat">Inc.VAT</div>
141
141
  </div>
142
142
  <div class="excluding-vat d-none">
143
- <span class="order-item__value">£{{totalExcVat}}</span>
143
+ <span class="order-item__value">£{{displayItemTotalWithoutDiscountExclusiveVat}}</span>
144
144
  <div class="price-vat">Exc.VAT</div>
145
145
  </div>
146
146
  {{else}}
147
- <span class="order-item__value">£{{total}}</span>
147
+ <span class="order-item__value">£{{displayItemTotalWithoutDiscount}}</span>
148
148
  {{/if}}
149
149
  {{/ifvalue}}
150
150
  </div>
@@ -2,16 +2,16 @@
2
2
  <div class="p-promotion__icon">
3
3
  <i class="icon fas fa-gift"></i>
4
4
  </div>
5
- {{#ifCond switch-vat '&&' descriptionExcVat}}
5
+ {{#ifCond switch-vat '&&' displayDescriptionExclusiveVat}}
6
6
  <div class="p-promotion__description including-vat">
7
- {{description}}
7
+ {{displayDescription}}
8
8
  </div>
9
9
  <div class="p-promotion__description excluding-vat d-none">
10
- {{descriptionExcVat}}
10
+ {{displayDescriptionExclusiveVat}}
11
11
  </div>
12
12
  {{else}}
13
13
  <div class="p-promotion__description">
14
- {{description}}
14
+ {{displayDescription}}
15
15
  </div>
16
16
  {{/ifCond}}
17
17
  <div class="p-promotion__close">
@@ -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": {
@@ -89,6 +93,10 @@
89
93
  "quantity": 2,
90
94
  "total": "32",
91
95
  "totalExcVat": "30",
96
+ "displayBasePrice": "16",
97
+ "displayBasePriceExclusiveVat": "15",
98
+ "displayItemTotalWithoutDiscount": "32",
99
+ "displayItemTotalWithoutDiscountExclusiveVat": "30",
92
100
  "offers": [
93
101
  "Buy 2 for 3 — Add 1 to qualify",
94
102
  "Buy 2 for 3 — Add 1 to qualify"
@@ -348,6 +356,10 @@
348
356
  "quantity": 123,
349
357
  "total": "19776",
350
358
  "totalExcVat": "19000",
359
+ "displayBasePrice": "16",
360
+ "displayBasePriceExclusiveVat": "15",
361
+ "displayItemTotalWithoutDiscount": "19776",
362
+ "displayItemTotalWithoutDiscountExclusiveVat": "19000",
351
363
  "message": "Purchased 12 times since your last visit 1 day ago",
352
364
  "click-and-collect": {
353
365
  "otherStores": [
@@ -583,6 +595,10 @@
583
595
  "quantity": 2,
584
596
  "total": "32",
585
597
  "totalExcVat": "30",
598
+ "displayBasePrice": "16",
599
+ "displayBasePriceExclusiveVat": "15",
600
+ "displayItemTotalWithoutDiscount": "32",
601
+ "displayItemTotalWithoutDiscountExclusiveVat": "30",
586
602
  "click-and-collect": {
587
603
  "otherStores": [
588
604
  {
@@ -815,6 +831,10 @@
815
831
  "priceExcVat": "15",
816
832
  "total": "32",
817
833
  "totalExcVat": "30",
834
+ "displayBasePrice": "16",
835
+ "displayBasePriceExclusiveVat": "15",
836
+ "displayItemTotalWithoutDiscount": "32",
837
+ "displayItemTotalWithoutDiscountExclusiveVat": "30",
818
838
  "quantity": 1,
819
839
  "totalMobile": "16",
820
840
  "click-and-collect": {
@@ -1056,6 +1076,10 @@
1056
1076
  "quantity": 2,
1057
1077
  "total": "32",
1058
1078
  "totalExcVat": "30",
1079
+ "displayBasePrice": "16",
1080
+ "displayBasePriceExclusiveVat": "15",
1081
+ "displayItemTotalWithoutDiscount": "32",
1082
+ "displayItemTotalWithoutDiscountExclusiveVat": "30",
1059
1083
  "offers": [
1060
1084
  "Buy 2 for 3 — Add 1 to qualify",
1061
1085
  "Buy 2 for 3 — Add 1 to qualify"
@@ -1079,6 +1103,10 @@
1079
1103
  "quantity": 123,
1080
1104
  "total": "19776",
1081
1105
  "totalExcVat": "19000",
1106
+ "displayBasePrice": "16",
1107
+ "displayBasePriceExclusiveVat": "15",
1108
+ "displayItemTotalWithoutDiscount": "19776",
1109
+ "displayItemTotalWithoutDiscountExclusiveVat": "19000",
1082
1110
  "message": "Purchased 12 times since your last visit 1 day ago",
1083
1111
  "address": "Watford",
1084
1112
  "updateable": true
@@ -1094,6 +1122,10 @@
1094
1122
  "quantity": 2,
1095
1123
  "total": "32",
1096
1124
  "totalExcVat": "30",
1125
+ "displayBasePrice": "16",
1126
+ "displayBasePriceExclusiveVat": "15",
1127
+ "displayItemTotalWithoutDiscount": "32",
1128
+ "displayItemTotalWithoutDiscountExclusiveVat": "30",
1097
1129
  "updateable": true
1098
1130
 
1099
1131
  },
@@ -1105,6 +1137,10 @@
1105
1137
  "priceExcVat": "15",
1106
1138
  "total": "32",
1107
1139
  "totalExcVat": "30",
1140
+ "displayBasePrice": "16",
1141
+ "displayBasePriceExclusiveVat": "15",
1142
+ "displayItemTotalWithoutDiscount": "32",
1143
+ "displayItemTotalWithoutDiscountExclusiveVat": "30",
1108
1144
  "code": "1231210",
1109
1145
  "quantity": 1,
1110
1146
  "totalMobile": "16",
@@ -1118,6 +1154,10 @@
1118
1154
  "priceExcVat": "0",
1119
1155
  "total": "0",
1120
1156
  "totalExcVat": "0",
1157
+ "displayBasePrice": "0",
1158
+ "displayBasePriceExclusiveVat": "0",
1159
+ "displayItemTotalWithoutDiscount": "0",
1160
+ "displayItemTotalWithoutDiscountExclusiveVat": "0",
1121
1161
  "updateable": false,
1122
1162
  "code": "1231211",
1123
1163
  "quantity": 1,
@@ -1139,6 +1179,10 @@
1139
1179
  "quantity": 1,
1140
1180
  "total": "968",
1141
1181
  "totalExcVat": "960",
1182
+ "displayBasePrice": "968",
1183
+ "displayBasePriceExclusiveVat": "960",
1184
+ "displayItemTotalWithoutDiscount": "968",
1185
+ "displayItemTotalWithoutDiscountExclusiveVat": "960",
1142
1186
  "deliveryStock": true,
1143
1187
  "onlyDeliveryType": true
1144
1188
  }
@@ -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",