Show Module Link at Left Menu Admin OpenCart. Save your time while you develop or install or edit modules/extensions. For installation just upload the module and you are set.

Download for free OpenCart Version 3

For OpenCart version 2 please download from below:

Module link in the left menu of Admin

The code for OpenCart version 3 is below:

<?xml version="1.0" encoding="utf-8"?>
<modification>
    <name>Show Module Link At Left Menu</name>
    <version>3.0</version>
    <author>Rupak Nepali</author>
    <link>https://webocreation.com</link>
    <code>webocreation_show_module_link_at_left_menu</code>
    <description>Show module link at left menu</description>
    <file path="admin/controller/common/column_left.php">
        <operation>
            <search><![CDATA[ if ($this->user->hasPermission('access', 'marketplace/extension')) { ]]></search>
            <add position="after"><![CDATA[
                $marketplace[] = array(
                    'name'	   => "Modules",
                    'href'     => $this->url->link('marketplace/extension&type=module', 'user_token=' . $this->session->data['user_token'], true),
                    'children' => array()
                );
            ]]></add>
        </operation>
    </file>
</modification>

The code for OpenCart version 2 is below:

<?xml version="1.0" encoding="utf-8"?>
<modification>
    <name>Show Module Link At Left Menu</name>
    <version>2.0</version>
    <author>Rupak Nepali</author>
    <link>https://webocreation.com</link>
    <code>webocreation_show_module_link_at_left_menu_2</code>
    <description>Show module link at left menu</description>
    <file path="admin/controller/common/column_left.php">
        <operation>
            <search><![CDATA[ if ($this->user->hasPermission('access', 'extension/extension')) { ]]></search>
            <add position="after"><![CDATA[
                $extension[] = array(
                    'name'	   => "Modules",
                    'href'     => $this->url->link('extension/extension&type=module', 'token=' . $this->session->data['token'], true),
                    'children' => array()
                );
            ]]></add>
        </operation>
    </file>
</modification>

In this way, you can show the module link in the left menu of admin in Opencart. Let us know if need any support or found any issues. Please subscribe to our YouTube Channel for Opencart video tutorials and get lots to other Opencart free modules. You can also find us on Twitter and Facebook.

Previous articleHow to clone the default theme of Opencart 3 to custom theme?
Next articleOpencart theme development environment setting up automation: Gulp, package.json, Yarn NPM setup

3 COMMENTS

    • Hi @Signet

      In the above XML find the following line:
      user->hasPermission(‘access’, ‘extension/extension’)) { ]]>
      and replace with following
      user->hasPermission(‘access’, ‘design/layout’)) { ]]>

      With that change, it will show menu link inside the Design

  1. Hi Rupak,

    This code is so good, But I need some help
    I would like to add something similar to my specific module
    example in the modules have App backend ext

    so would like to add that app dashboard left side menu
    Home>Modules> Knowband Mobile App Creator v1.9
    and the link is
    /admin/index.php?route=extension/module/webservice&user_token=

    can you please help me out 🙂

LEAVE A REPLY

Please enter your comment!
Please enter your name here