diff --git a/app/components/catalog/ProductCard.vue b/app/components/catalog/ProductCard.vue index 19b9ec0..88ae0d4 100644 --- a/app/components/catalog/ProductCard.vue +++ b/app/components/catalog/ProductCard.vue @@ -14,10 +14,10 @@ ]" > - - {{ product.name }} - {{ product.categoryName || t('catalogProduct.labels.category_unknown') }} - + {{ product.name }} + + {{ product.offersCount }} {{ t('catalog.offers', product.offersCount) }} + {{ product.description }} @@ -30,8 +30,8 @@ import { NuxtLink } from '#components' interface Product { uuid?: string | null name?: string | null - categoryName?: string | null description?: string | null + offersCount?: number | null } const props = defineProps<{ diff --git a/app/components/page/CatalogPage.vue b/app/components/page/CatalogPage.vue index 11038a8..0c88eae 100644 --- a/app/components/page/CatalogPage.vue +++ b/app/components/page/CatalogPage.vue @@ -30,10 +30,32 @@ - +