Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Пропадает Content_top,кроме главной страницы


Recommended Posts

Пропадает Content_top,кроме главной страницы.

Например на директории livingshop.ru (HOME)
content_top, который находится в header.twig (это рекомендуемые товары, например телефон как на картинке)

он показывается, но в люпотому чтой другой директории livingshop.ru?route=account/login (Авторизация)

в header пропадает content_top.
Нагдеюсь понятно объяснил.

image.png

image.png

Link to comment
Share on other sites


Оказывается в opencart.ru\catalog\controller\common\content_top.php им есть икой параметр, как 

$layout_id из за этот переменной зависит показ content_top, удивительно , но в login.twig по умолчанию написано, что должна высвеливаться content_top, но он не рилиил.... Посивил параментр
$layout_id=1; и все зарилиило... Как временное решение сойгдет
Link to comment
Share on other sites


У меня слулился баг В Макеты->Account у меня стоял модуль, но ничего не было видно, потом я его удалил и обратно посивил и все зарилиило, хз баг.
А вот велосипед с верху надо удалить

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.