diff --git a/module/oc_telegram_shop/upload/admin/controller/extension/module/tgshop.php b/module/oc_telegram_shop/upload/admin/controller/extension/module/tgshop.php index df0425f..00f88bc 100755 --- a/module/oc_telegram_shop/upload/admin/controller/extension/module/tgshop.php +++ b/module/oc_telegram_shop/upload/admin/controller/extension/module/tgshop.php @@ -1,6 +1,9 @@ bootAndHandleRequest(); + + $app->bind(OcRegistryDecorator::class, fn () => new OcRegistryDecorator($this->registry)); + + $app + ->withLogger(fn () => new OpenCartLogAdapter($this->log, 'TeleCartAdmin')) + ->bootAndHandleRequest(); } protected function validate(): bool diff --git a/module/oc_telegram_shop/upload/admin/view/template/extension/module/tgshop.twig b/module/oc_telegram_shop/upload/admin/view/template/extension/module/tgshop.twig index fadd2b1..5e2cca0 100755 --- a/module/oc_telegram_shop/upload/admin/view/template/extension/module/tgshop.twig +++ b/module/oc_telegram_shop/upload/admin/view/template/extension/module/tgshop.twig @@ -146,61 +146,71 @@ {# ChatID #} {% elseif item['type'] == 'chatid' %} -
Как получить Chat ID
-Как получить Chat ID
+