If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

OpenCart 2.x. How to manage top menu

This tutorial shows how to manage top menu in OpenCart templates.

OpenCart 2.x. How to manage top menu-1

  1. Let’s remove a Wish List menu item. Open the \catalog\view\theme\themeXXX\template\common\header.tpl file in your editor. Find a code with the structure similar to the following:

    OpenCart 2.x. How to manage top menu-2

  2. Locate an appropriate part of code. You can see code for wishlist on the screenshot above (highlighted with gray color).
    Remove this code along with the <li> tag. Save changes, upload the modified file and refresh your page. Wishlist item was removed.

    OpenCart 2.x. How to manage top menu-3

  3. Let’s change titles for Registration and Shopping cart menus. Unzip the template package, go to the themeXXX folder. Unzip the file with extensions. Open TemplateMonster_header.ocmod.xml modification in your editor.

    OpenCart 2.x. How to manage top menu-4

  4. Check if title you would like to change is specified in a modification. You can use search function of your editor in order to locate appropriate text. Registration title is specified in the modification. We should perform changes directly in the modification. Otherwise you can perform changes in \catalog\language\en-gb\common\header.php file (en-gb is a language folder).

    We have changed Registration title to RegistrationTest. Save changes you have performed to the modification. You should perform the same changes for another languages as well.

    OpenCart 2.x. How to manage top menu-5

  5. Go to Extensions -> Modifications. Find the TemplateMonster header modification and select it.
    Delete the modification.

    OpenCart 2.x. How to manage top menu-6

  6. Go to Extension Installer. Upload a modification with the updated header.

    OpenCart 2.x. How to manage top menu-7

  7. Refresh modifications in Extensions -> Modification section.

    OpenCart 2.x. How to manage top menu-8

  8. Refresh page.
    We have changed the title for Registration menu item.

    OpenCart 2.x. How to manage top menu-9

  9. In our case Shopping cart text can be changed directly in the language file. Open the \catalog\language\en-gb\common\header.php (path to the file depends on language) file in your editor. Change text. Save changes and upload the modified file.

    OpenCart 2.x. How to manage top menu-10

  10. Go to Extensions -> Modifications and refresh modifications. Refresh page.

  11. We have changed the Shopping Cart title.

    OpenCart 2.x. How to manage top menu-11

Feel free to check the detailed video tutorial below:

OpenCart 2.x. How to manage top menu

In case you’re seeking premium themes to put up a professional website, take a look at Best OpenCart Themes 2017.