How to display your links in the top menu, opencart?
Web Studio - site development of any direction. | WEB-STYDIA.COM
Creation, development, manufacturing sites | WEB-STYDIA.COM

Today I want to write a short article about adding their arbitrary links to the main menu. By default, the template displays only checked category in the menu, but sometimes we need instead of categories or with them, to withdraw its reference for example About us, contacts, delivery, payment, documents, etc. ..

Well let's start:
(PS: This method may differ on non-standard templates)
All of the code of the main menu is in the file header.tpl that lies here:

Open the file in notepad ++ our favorite find in it the code which is responsible for the menu:

And change it to your code like this:

So we completely removed all output categories and add your links.
If you need to display links together then just add them after the closing tag li

Just like that, we have changed the top menu, try to comment, ask questions!

You may also like

No Comment

You can post first response comment.

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter a message.