Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не подгружается лексикон для ms2_message_close_all #688

Closed
webinmd opened this issue May 27, 2022 · 1 comment
Closed
Labels

Comments

@webinmd
Copy link
Collaborator

webinmd commented May 27, 2022

Сообщение об ошибке / Error message

Резюме / Summary

При добавлении нескольких товаров в корзину в уведомлении не подгружается перевод для записи словаря ms2_message_close_all

Шаг для воспроизведения / Step to play

Добавить несколько товаров в корзину быстро

Наблюдаемое поведение / Observed behavior

Для кнопки закрытия всех уведомлений выводится ключ языка

Ожидаемое поведение / Expected behavior

Необходимо чтобы выводилось сообщение Закрыть все

Environment

Версия miniShop2 3.0, версия MODX 2.8.4

также подобная проблема указано что решено, но наблюдаю до сих пор https://modx.pro/help/17342

@webinmd webinmd added the bug label May 27, 2022
@webinmd
Copy link
Collaborator Author

webinmd commented May 27, 2022

Необходимо в методе registerFrontend в файле
core/components/minishop2/model/minishop2/minishop2.class.php

Добавить инициализацию лексикона
$this->modx->lexicon->load('minishop2:default');

biz87 added a commit that referenced this issue Jun 8, 2022
@biz87 biz87 mentioned this issue Jun 8, 2022
@biz87 biz87 closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants