From de5fc6b4a8f6356d6d190fe272665a450f60032f Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Thu, 9 Apr 2026 16:42:14 +0700 Subject: [PATCH] Hide box settings and rename customization labels --- app/components/catalog/CatalogConfigurator.vue | 12 ++++-------- app/pages/catalog-settings.vue | 15 ++++----------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/app/components/catalog/CatalogConfigurator.vue b/app/components/catalog/CatalogConfigurator.vue index 1309dff..0e0cd82 100644 --- a/app/components/catalog/CatalogConfigurator.vue +++ b/app/components/catalog/CatalogConfigurator.vue @@ -263,10 +263,8 @@ function groupCatalogSetting(group: ProductGroup) { } function visibleFields(group: ProductGroup) { - const catalogSetting = groupCatalogSetting(group); - return parameterFields.filter((field) => { - if (field.key === 'quantityPerBox' && !catalogSetting.showQuantityPerBox) { + if (field.key === 'quantityPerBox') { return false; } @@ -488,15 +486,15 @@ function customizationNotes(group: ProductGroup) { const notes: string[] = []; if (setting.allowCustomLength && setting.customLengthMinM && setting.customLengthMaxM && setting.customLengthStepM) { - notes.push(`Своя длина ${setting.customLengthMinM}-${setting.customLengthMaxM} м, шаг ${setting.customLengthStepM} м`); + notes.push(`Любая длина ${setting.customLengthMinM}-${setting.customLengthMaxM} м, шаг ${setting.customLengthStepM} м`); } if (setting.allowCustomSleeveBrand) { - notes.push('Своя втулка'); + notes.push('Втулка с логотипом'); } if (setting.allowCustomLabel) { - notes.push('Своя надпись'); + notes.push('Нанесение надписи'); } return notes; @@ -669,7 +667,6 @@ function decrementSelected(group: ProductGroup) {