M
M
Messi2015-07-28 11:00:38
User navigation
Messi, 2015-07-28 11:00:38

Adding menu items to OpenCart?

There is a store on OpenCart 2.0.3.1, the store has 2 languages ​​(English and Russian), how to add new menu items to the main menu?
I found what I need to add in the header.tpl file, I add it, the menu appears there, but how can I then translate it into another language?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
voffkared, 2015-07-28
@voffkared

See files in controller and languages.

  1. In template you put a new variable.
  2. In the Controller, you add the output of this variable.
  3. In Languages, you set the value of this variable separately in English and Russian folders.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question