switch(key) {
case 'REF':
- output = value;
- output += data['EXCLU'] ? '*' : ''; // Mark exclusive products with an asterisk
+ output = data['EXCLU'] ? '*' : ''; // Mark exclusive products with an asterisk
+ output += value;
break;
case 'COULEUR':
var colours = $this.data[item.reference]; // Colour variations are stored as nested objects, grouped by reference
// Calculate the Hors Tax amount based on the TTC amount
calculateHT: function(TTC_value) {
- return parseFloat(TTC_value) * 100 / (100 + this.TVA_percentage);
+ return this.parseFloat(TTC_value) * 100 / (100 + this.TVA_percentage);
},
cartTotalTTC: function() {
// Collapse table cells and display header labels before items
tbody td {
+ white-space: normal;
+
@media @breakpoint_table {
display: flex;
align-items: center;
background-color: transparent;
}
- [data-name="DESIGNATION"] {
- white-space: normal; // Allow descriptions to wrap
- }
-
[data-name="QTE MINI"], [data-name="QTE"] {
text-align: center !important;
}
[data-name="PRIX HT"], [data-name="PRIX TTC"] {
text-align: right !important;
+ white-space: nowrap !important;
}
// Cart item delete buttons