Only Sub Categories at Category Page
Only Sub Categories at Category Page

Hi All, I make another module today “Show only subcategories on category page OpenCart 2.0 free module” when enable to category page then you will be able to see sub-categories of the active Category as heading.
Download “Show only subcategories on category page OpenCart 2.0 free module” from link below:
Download Show only subcategories on category page OpenCart 2.0 free module
Download Show only subcategories on category page OpenCart 2.2 free module


Module will look like below:

Only Sub Categories at Product Page
Only Sub Categories at Product Page

Admin section will be look like:

Only Sub Categories at Category Page admin
Only Sub Categories at Category Page admin


This is an extension for opencart 2.0 and 2.2 that I modify the Category module so it only displays the current top level category page’s sub-categories. For example, if I am on the “Laptops & Desktops” category page, the sidebar module would only list the sub-categories associated with “Laptops & Desktops” category, such as “Macs” and “PCs” with the main heading “Laptops & Desktops” (And not list or show any of the other top level categories).


  1. Unzip the downloaded folder.
  2. Upload the files in root folder to your server, no file is overwritten.
  3. Then activate the “Only Sub-Categories module.

Activating the Only Sub-Categories module:

  1. After uploading files to servers, it’s time to install Only Sub-Categories module
  2. We are showing the Only Sub-Categories module at the right or left column of Category page (Category Layout).
  3. Go to Admin section
  4. Then click on Extensions on left menu
  5. After that Click Modules and go to Only Sub-Categories in modules list
  6. Then click the Green button for the Only Sub-Categories to install the module (see the image below)installation_of_module
  7. Then click blue edit button
  8. After that you will see the form which have status field, select Enabled and then click Save button.
  9. You module is active and is ready to used in layout.

Setup layout for the side bar Only Sub-Categories module at left column of category page:

  1. From the admin section go to System >> Design >> Layouts.
  2. You will see a list of layouts, from which edit the Category layout.
  3. Then click Blue add button to add rows at module section which is shown in the image below:siderbar_shopping_cart_installation
  4. Second you choose the Only Sub-Categories in module column and Column left in Position column and insert the sort order as required.
  5. Then Click save button

Your custom category page is ready with Only Sub-Categories module in the left column.

Comment and share if you got any problem or message me.

Rupak Nepali


    • Yes it is comapatible with Opencart
      I am not sure about specific theme, if your theme support default modules then it works.
      But if they customize the module for their use then we need to change the catalog/view/theme/default/module/onlysubcategories.tpl file to match the design.

      functionality it works, only problems may be with design.


  1. Hello,
    HI see this error

    Cannot find language file ‘…/2015/catalog/language/english/module/onlysubcategories.php’ in …/2015/system/engine/factory.php on line 551

    whats wrong?

  2. Notice: Error: Could not load template D:/wamp/www/catalog/view/theme/default/template/default/template/module/onlysubcategories.tpl! in D:\wamp\www\system\library\template\basic.php on line 26

    • Hi,

      Someone is using “ASD” name and commenting uselessly in Hindi.
      He does not describes his problem, just saying this module is not working and I am faking it.

      Whomever is this?
      Can you please describe your problems and errors that you are getting so that we can solve it?

      As you can see I have showed you images how this works and shown you similar ways to install module.

      Please keep in mind, I am providing this for free and have tried to solve everyone problems. If you want full support then please go with commercial one 🙂

      I will keep on posting module thinking that it will be helpful for someone.


  3. Hi.

    I have been using this extension in OC and its great. Are there any plans to release it for
    Have tried the 2.2 version to see if it would work but i get a permission error when i try to enable it.

    Many thanks

  4. Hi,

    I hope you can help me because I really want this to work! I keep getting the same error after installing and double checking the files are where they should be:

    Notice: Error: Could not load template /var/www/vhosts/89/283358/webspace/httpdocs/! in /var/www/vhosts/89/283358/webspace/httpdocs/ on line 26

    Can you tell me what is causing this? Thanks!


  5. Question:

    I created the category as follows:
    “Category” :- “List of Shops” :- “Vinod Furniture Shop”

    Now I want to create a “User” with rights of editing/uploading products only placed under the subcategory “Vinod Furniture Shop”.

    If this is possible to create an extension for following?

  6. Hello,
    thanks a lot for this usefull module. Just one problem for me is that module no display od sub – sub category, only on parent or first category. How can I fix it, please?


Please enter your comment!
Please enter your name here