Воспроизведено на демо https://dev.demo.cs-cart.com/
Активируем модуль Центр сообщений.
На витрине логинимся, переходим в Сообщения
Добавляем новое сообщение.
Результат: сообщение со ссылкой Simtech, которая ведет на 404
2 лайка
Здравствуйте. Проблему воспроизвел. Передам информацию о баге разработчикам, спасибо.
Здравствуйте, @ab.developer.inj !
Проблема исправлена, исправление войдет в следующий релиз CS-Cart и Multi-Vendor
Для исправления проблемы собственными силами можно использовать патч:
design-themes-responsive-templates-addons-vendor_communication-views-vendor_communication-components-company_subject.tpl.diff
diff --git a/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/company_subject.tpl b/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/company_subject.tpl
index 99481c6f7a..b6cd489a86 100644
--- a/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/company_subject.tpl
+++ b/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/company_subject.tpl
@@ -2,6 +2,12 @@
$company array Company data
*}
-<a href="{"companies.products?company_id=`$company.logos.theme.company_id`"|fn_url}" title="{$company.company}">
- {$company.company|truncate:60:"...":true}
This file has been truncated. show original
design-themes-responsive-templates-addons-vendor_communication-views-vendor_communication-components-subject_image.tpl.diff
diff --git a/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/subject_image.tpl b/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/subject_image.tpl
index d048773a1a..2d282d89fb 100644
--- a/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/subject_image.tpl
+++ b/design/themes/responsive/templates/addons/vendor_communication/views/vendor_communication/components/subject_image.tpl
@@ -9,7 +9,7 @@
{include file="addons/vendor_communication/views/vendor_communication/components/product_subject_image.tpl"
product=$object
}
-{elseif $object_type === $smarty.const.VC_OBJECT_TYPE_COMPANY}
+{elseif $object_type === $smarty.const.VC_OBJECT_TYPE_COMPANY && fn_allowed_for("MULTIVENDOR")}
This file has been truncated. show original
О том, как применить патч, можно прочитать в нашей документации: https://www.cs-cart.ru/docs/latest/upgrade/apply_diff_file.html