diff --git a/app/components/catalog/CatalogConfigurator.vue b/app/components/catalog/CatalogConfigurator.vue index 30cb359..48fde26 100644 --- a/app/components/catalog/CatalogConfigurator.vue +++ b/app/components/catalog/CatalogConfigurator.vue @@ -303,6 +303,10 @@ function selectionDescription(group: ProductGroup) { return 'Разверните весь список, если нужна ручная проверка вариантов.'; } +function addButtonLabel(group: ProductGroup) { + return selectedProduct(group) ? 'В корзину' : 'Выбрать параметры'; +} + function boxQuantityLabel(group: ProductGroup) { const product = selectedProduct(group); if (product?.quantityPerBoxOptions.length) { @@ -425,18 +429,23 @@ function decrementSelected(group: ProductGroup) { :key="group.key" class="surface-card rounded-3xl p-4 md:p-5" > -
+
-
+
+

Тип товара

+

{{ group.typeLabel }}

+
+ +
-
-

Тип товара

-

{{ group.typeLabel }}

-
- -
- {{ group.products.length }} вариантов - Короб: {{ boxQuantityLabel(group) }} -
-
-

{{ selectionHeadline(group) }}

-

{{ selectionDescription(group) }}

+

{{ selectionHeadline(group) }}

+

{{ selectionDescription(group) }}

+

Короб: {{ boxQuantityLabel(group) }}

+ +
{{ selectedQty(group) }}
-