Answer the question
In order to leave comments, you need to log in
How to sync twig files in template editor with website files?
Good afternoon, forum users!
Version opencart 3.0.3.1 I will
immediately start the problem without any introduction, since the question can be met by many people. Describing:
I have files in the template editor and in the site folder. For example: header.twig is both there and here.
Let's say I have a header.twig like this:
<ul class="header-menu">
<li><a href="/" class="header-menu-link">Главная</a></li>
<li><a href="/" class="header-menu-link">Каталог товаров</a></li>
<li><a href="/" class="header-menu-link">Торты на заказ</a></li>
<li><a href="/" class="header-menu-link">О нас</a></li>
<li><a href="/" class="header-menu-link">Отзывы</a></li>
</ul>
<ul class="header-menu">
<li><a href="/" class="header-menu-link">Каталог товаров</a></li>
<li><a href="/" class="header-menu-link">Торты на заказ</a></li>
<li><a href="/" class="header-menu-link">О нас</a></li>
</ul>
<ul class="header-menu">
<li><a href="/" class="header-menu-link">Главная</a></li>
<li><a href="/" class="header-menu-link">Каталог товаров</a></li>
<li><a href="/" class="header-menu-link">Торты на заказ</a></li>
<li><a href="/" class="header-menu-link">О нас</a></li>
<li><a href="/" class="header-menu-link">Отзывы</a></li>
</ul>
<ul class="header-menu">
<li><a href="/" class="header-menu-link">Каталог товаров</a></li>
<li><a href="/" class="header-menu-link">Торты на заказ</a></li>
<li><a href="/" class="header-menu-link">О нас</a></li>
</ul>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question