B
B
big_hasan2019-08-12 10:59:31
CMS
big_hasan, 2019-08-12 10:59:31

Opencart, Category menu (drop down catalog of products): where to edit?

You need to edit the drop-down menu of product categories. The header template has the following:

<div class="header-bottom">
      {{  headerleft }} {{ menu }}

In the headerleft template, the reference to the modules, as I understand it:
{% for module in modules %}
{{ module }}
{% endfor %}

Among the modules there is no one that would be called a hederleft. In general, there are only 2 files with this name in the file system - this template and the controller. In the controller, there is only one line on this topic:
$data['headerleft'] = $this->load->controller('common/headerleft');

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dima Polos, 2019-08-12
@dimovich85

And not in menu.twig?
Option two, if this is a menu in modules, then: folder_with_theme (default or current) / template / extension / module, there you need to shovel all the modules, see in the OC admin panel which modules are connected in the Design -> Layouts section, this will reduce the options.
In general, after all, first of all, see template/common/menu.twig

R
ragov, 2019-08-15
@ragov

as a menu variant or megamenu twig

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question