D
D
Dmitry2016-12-13 20:32:39
opencart
Dmitry, 2016-12-13 20:32:39

How to change menu in opencart?

There is this code in the file catalog\view\theme\coloring\template\common\header.tpl

<div id="header-menu">
      <?php if ($header_menu_toggle) {?>
      <?php foreach ($header_menu as $item) { ?>
      <a class="btn" href="<?php echo $item['link'][$language_id]; ?>"><span><?php echo html_entity_decode($item['title'][$language_id], ENT_QUOTES, 'UTF-8'); ?></span></a>
      <?php } ?>
      <?php }?>
</div>

This piece outputs code, i.e. menu items, I can’t find in the admin panel itself, where this menu is configured, I will be grateful for the hint! (if this is a module, what is it called, searched through all the modules ...)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-12-14
@liggth

This menu is edited in the template control. But due to the fact that the template became NOT activated, the menu from the database was not loaded so that it could be edited.
642cab387d51472db2f63476dcdbd770.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question