{{ title() }}

@if (showClose()) { }
@for (item of items(); track item.productVariantId || item.product + item.discountedPrice; let idx = $index) {
@if (item.discountPercentage && item.discountPercentage > 0) { -{{ item.discountPercentage }}% } @if (item.imageUrl) { } @else { }

{{ item.product }}

@if (item.originalPrice !== null) { {{ formatCurrency(item.originalPrice) }} } {{ formatCurrency(item.discountedPrice) }}
@for (attribute of item.attributes; track attribute.label + attribute.value) {
{{ attribute.label }}: {{ attribute.value }}
}
{{ getItemQuantity(item) }}
}