![]()
@if (showDiscountBadge && item.discount > 0) {
-{{ item.discount }}%
}
@if (showStock && item.remainings) {
{{ stockLabelKey(item.remainings) | translate }}
}
@if (showFavoriteControl() || showCompareControl() || showShareAction || showQuickViewPlaceholder) {
@if (showFavoriteControl()) {
}
@if (showCompareControl()) {
}
@if (showShareAction) {
}
@if (showQuickViewPlaceholder) {
}
}
@if (item.badges && item.badges.length > 0) {
@for (badge of item.badges; track $index) {
{{ badge }}
}
}
{{ title || item.name }}
@if (showDescription && description) {
{{ cleanDescription(description) }}
}
@if (showRating) {
{{ item.rating | number:'1.1-1' }}
({{ item.callbacks?.length || item.comments?.length || 0 }})
}
@if (item.discount > 0) {
{{ item.price | number:'1.2-2' }} {{ item.currency }}
{{ getDiscountedPrice(item) | number:'1.2-2' }} {{ item.currency }}
} @else {
{{ item.price | number:'1.2-2' }} {{ item.currency }}
}
@if (showStock && item.remainings) {
}