the Internet Windows Android

How to fix the side menu in OpenCart. Archives with modules

allows you to create a multi-level horizontal or vertical menu for OpenCart 3 and output these menus to any positions of the site.

To display the horizontal menu, the module adds a new position in the circuit / layouts, so that you can create different horizontal menus for different site schemes. If the position in the scheme is not filled, the default standard horizontal menu of OpenCart3 is displayed.

For the output of the vertical menu, the standard positions of OpenCart-3 are used (left column, right column).


Features and capabilities of the module "Uni Mega Menu":

  • Creates a multi-level menu
  • Displays categories, subcategories,
  • Displays arbitrary goods
  • Displays a sheet of goods (new, popular, discount products, sales hits)
  • Displays manufacturers
  • Displays images
  • Custom links
  • HTML Content
  • Drag & Drop Menu Editor
  • Ability to add icons to menu items

The module does not overwrite the site files, if necessary, simply disable OCMOD modifier and your store will adopt the initial look.

Installing Uni Megamenu module

Attention! For the correct installation of the module, you must be installed free addition

  • Go to the Modules / Extensions section → Installing extensions and download the uni-megamenu-oc3. ocmod.zip file through the installer.
  • Go to the Modules / Extensions section → Modifiers and click the Refresh button.
  • Go to System → Users → User Groups and In Administrators Group, add the rights to change the module.
  • Go to the Modules / Extensions section → Modules / Extensions, install the UNI Megamenu Module.
  • Create a new menu or edit the demo menu that appeared after installation.
  • Go to Design → Layouts and add a module to all, or in your selected layouts.
  • Update

What if the module does not work?

1. Check that the module is installed correctly.

2. Go to Settings -\u003e Users -\u003e User Groups -\u003e Administrators and add administrator rights to control the module (in the upper two lists, click "Select All" and save the settings in the upper right corner.

3. Clean all the kershas, \u200b\u200bmodifiers and templates. To quickly clean all the casters, we recommend installing this module.

4. Check OCMOD error log modifiers. If you use a template pattern other than default, then a modifier is possible in which place did not connect to your template. To check and eliminate OCMOD errors, we recommend using this module.

5. If you could not solve the problem, write to us in those. Support, we will help you.

Important! When contacting those. Support (to save your and our time) Immediately provide access to the admin panel of your store. In some cases, it will also need access to your Server on FTP.

When developing an online store, faced the need to make the third level of nested categories, since the base two was not enough. Attempts to find free modules for OpenCart 2.0.3.1 For a three-level menu, written without using an outdated VQMOD, were not crowned with success.

Fortunately, two free modules were found for this version of CMS on VQMOD, which I rewrote.

So, the following modules were taken as the basis:

  • MENU THRD LEVEL Submenu - for three-level drop-down main menu
  • Categories Menu 3RD LEVEL Submenu - To display the third level of the menu inside categories

To install the modules just download the 2 archive at the end of the article and put them in the appropriate folders. There are no unnecessary links to me or developer, you can safely pour.

In the original module, in addition to the fact that it began to work on OCMOD, several changes were made to him:

After all the edit, the module began to look like this:

Installation Instructions

Installing elementary. For a standard template (default), it is enough to unpack the archives and pour files to the desired folders. After the files are flooded, be sure to go to the administrative panel -\u003e Modules -\u003e Modifiers and click the "Update" button in the upper right corner.

If you have another template name, you will need to make changes to the menu3rdlevel.ocmod.xml files and categoriesmenu3rdlevel.ocmod.xml. In all ways, it will be necessary to replace "Default" to the name of your template. Also, do not forget to click "Update" button in modifiers.

Archives with modules

MENU3RDLEVEL-OPENCART - three-level main menu for OpenCart 2.0.3.1 v1.2
CategoriesMenu3rDlevel - Three-level menu for OpenCart 2.0.3.1 in viewing categories

Changes versions

Version 1.1. Fixed jamb with an uncomfortable menu item "Watch all goods".
Version 1.2. Fixed a bug with card transfer to the next string in the display of goods by the grid.

Paid installation

If someone has no something happened, a paid installation cost is only 300 rubles.

Support the author

If you used this module and sincerely grateful, you can support the author, transferring any amount through the form below or making a repost of the article using the buttons of social networks in the basement of the page.

From the author: Greetings to you, friends. So, we continue the cycle of articles on acquaintance with one of the most popular CMS to create online stores - OpenCart (Oscart). In this article we will talk about how to make a side menu in OpenCart.

This article will be very simple and is designed for newbies, which are just starting their acquaintance with CMS OpenCart. On those newcomers who are asked seemingly simple question: how to make the side menu in OpenCart? The fact is that by default on the main page of the Opencart online store there is no side category menu.

However, it is enough to bring it enough, already an existing category module will help. Let's use it. We go to the admin in the add-on menu - add-ons and find the category module module in the list.

Go to its settings and make sure that this module is turned on, i.e. Ready to use. If suddenly it turns out to be turned off, then turn it on and save the changes.

Next, go to the Design Menu - Schemes and, Among the Layouts, select the Mockup of the main page by turning to its editing. For the left column from the list of available modules, select the category module you are interested in and save the changes.

It remains to check the changes on the main page of the site, there must appear the side menu of the store categories.

Very simple, right? By the way, if you are not satisfied with the appearance of the side menu module, then you can change it to the layout in the active theme file, the default is \\ catalog \\ view \\ theme \\ default \\ template \\ extension \\ module \\ Category.tpl. Well, you can change the design, respectively, through the style file. But that is another topic.

Error 500 After installing the module means that some critical error in PHP has happened.

To determine the problem, you can:
1. Open logs / error.log file on your server. At the end of this file will be all the latest critical errors.
2. Open tools in the admin page\u003e error logs - errors are displayed in this place, but not always.
3. Enable PHP errors output to the screen - add the following code At the end of the file.htaccess:

PHP_VALUE DISPLAY_ERRORS 1.
pHP_VALUE DISPLAY_STARTUP_ERRORS 1.
php_value error_reporting e_all

Possible reasons:

1. If you have not previously loaded the modules in the archive via the administrator -you need to install free Modification According to the instructions and then reinstall the module

2. It is possible in the installed module there is no own page of settings and, accordingly, it will not be in the list of modules

Two solutions:

1. If this error crashes when installing the module from the admin module - you need to install free. It is installed without any problems through the same add-on installer, just after the installation do not forget to update the modifications and then you can start installing any modules on OpenCart 2.

2. Also solve this error can be different: to register access to FTP in Admin. System\u003e Settings\u003e Shop\u003e FTP tab.

If you see a message " Access is denied! You do not have rights to access this page. If you need it, contact the administrator."- You need to give the right to administrators to manage a module or page.

Solution: in the admin package OpenCart 2 go to System\u003e Users\u003e User Groups\u003e Administrators And here you click "highlight everything" below both blocks, then save.

Another reason for the appearance of this error may not be the correct installation of the module - the files did not boot into place. Load the manual module files to the server or install the fix and reinstall the module.

If the module is one XML file, then its extension must be .ocmod.xml

If the module is an ocmod.zip archive, it does not need to unpack it, but to install as it is. In such an archive, there must be a UPLOAD folder (maybe empty)And there may also be modifications files: install.xml, install.php, install.sql. No other files in the root of the archive should not be.

This error means that you are trying to install a modifier that is already installed or perhaps some of your module is the same ID.

To solve this error, you need to remove the old version of the modification in the Modules\u003e modifications section before installing.

If you do not have such a module, but the id is the same, then you need to change the value of the parameter In the XML modifier installed, make this parameter unique adding several characters.

This error means that you are trying to install toovolumetric XML modifier.

The number of characters in the ocmod.xml file should not exceed65535 .

To solve the error you need to break the XML file of modification into several parts, the main thing is not to forget to set each unique value in , You can add to the current value of 1,2,3 ... as part identifiers.

Another way to solve is the type changes in the field where the modifications are stored in the "OC_MODIFICATION" table. You need to execute the following SQL query:
ALTER TABLE OC_MODFICATION CHANGE XML XML MediumText CHARACTER SET UTF8 Collate UTF8_GENERAL_CI NOT NULL;

    Let's delete the menu item A wish list (Wish List). Open File \\ Catalog \\ View \\ Theme \\ Themexxx \\ Template \\ Common \\ Header .tpl In your editor. Find code with a structure similar to that:


  1. Find the appropriate code fragment. You can see the desires list code in the screenshot below (highlighted in gray). Delete the code, as well as the tag

  2. . Save the changes, download the changed file and update the page. The element "Wish list" is successfully removed.


  3. Let's change the name of the menu items check in (Registration) and Basket Shopping Cart). Unzip the template packet, go to the folder themexxx.. Unzip file with extensions. Open Templatemonster_Header .ocmod .xml. In the editor.


  4. Check if there is a header in the file you want to change. You can use the search function in the editor in order to find the appropriate text. The name "Registration" is indicated in modifications. Changes need to be made directly in modifications. Alternatively, you can make changes in the file (en-GB is a language folder).

    We changed the name check in (Registration) on Test registration (RegistrationTest). Save the changes you entered into a modification. The same changes must be made to other languages.


  5. Click the tab Extensions -\u003e Modifications (Extensions -\u003e Modifications). Find a modification TEMPLATEMONSTER HEADER. And select it. Remove Modification.


  6. Go to Installer extensions (Extension Installer). Load modification with an updated heder.


  7. Update modifications (Refresh Modifications) in the section Extensions -\u003e Modifications (Extensions -\u003e modification).


  8. Update the page. We have successfully changed the name for the menu item. check in (Registration).


  9. In our case, text Basket (Shopping Cart) You can change directly in the language file. Open File \\ Catalog \\ Language \\ EN-GB \\ COMMON \\ HEADER .PHP (The path to the file depends on the language) in your editor. Change text. Save the changes and download the changed file.


  10. Click the tab Extensions -\u003e Modifications (Extensions -\u003e Modifications) and update modifications. Update the page.

  11. We changed the name Basket Shopping Cart).


You can also familiarize yourself with the detailed video tutorial below.