@if (loading()) {

Загрузка товаров...

} @else if (products().length > 0) {
@if (product.discount > 0) {
-{{ product.discount }}%
}

{{ product.name }}

⭐ {{ product.rating }} ({{ product.callbacks?.length || 0 }})
@if (product.discount > 0) { {{ product.price }} {{ product.currency }} {{ getDiscountedPrice(product) | number:'1.0-0' }} {{ product.currency }} } @else { {{ product.price }} {{ product.currency }} }
}