InMotion Hosting Support Center

In the last tutorial, we showed you how to remove the current categories so you can add your own. Categories allow you to group products together so your shopping cart visitors can find products that are related to one another. It's best practice to plan out your product categories ahead of time but you can edit, remove, and add new categories at any time. 

We're creating a fictitious online technology bookstore for our tutorial. We've already set up some basic categories in our shopping cart. However, we're going to set up a new category called "Databases."

How to Add Product Categories in OpenCart

  1. Log into your OpenCart Dashboard
  2. Go to Catalog > Categories
  3. Select the "Insert" button in the upper right corner.
  4. On the General Tab, fill in the fields for your new category (you can make changes at any time). The only field that is required is the "Category Name"
  5. categories_2

  6. Click on the Data Tab and fill in the fields you want (these are optional).
  7. categories_3

  8. Click on the Design Tab and select from the dropdown menu if you want (these are optional). 
  9. categories_4

  10. Click the "Save" button in the upper right corner.

At this point you have created your first category! You can add as many categories as you would like. The following screenshot shows that the category was successfully created.


If you need further assistance please feel free to ask a question on our support center website

Was this article helpful?
Continued Education in Course 101: Installing OpenCart and Adding Products
You are viewing Section 6: Adding Product Categories in OpenCart 1.5
Section 5: Removing Categories for Products in OpenCart 1.5
Section 7: Removing Products from OpenCart 1.5
n/a Points
2018-02-14 8:59 am

hello guys, i tried uploading product images into my website via open cart v1. The images take a very long time to be shown when i open my website . Can anyone help me please ?

42,946 Points
2018-02-14 12:57 pm
Sorry for the issues with your graphics loading. This looks to be an issue addressed in the OpenCart Support forum. Check out the post. You may want post your issue there for additional assistance.

n/a Points
2016-11-26 1:57 am

With Opencart can I have a sub category of a sub category.  I am looking at jewellery, then sub plated, followed by sub of beads, bracelets etc.  Is this possible

n/a Points
2016-05-29 3:44 am

I found the problem. If you modified one of the demo categories then tried to add a new product under that, it does not work. You must just create your own new Category then set the parent of your new products under the Links category as you tried before, and it works. Also increase the number limit for the drop down as mentioned above. luckydays dot tv 

n/a Points
2016-05-29 3:28 am
No. In version 1.5 you could select the parent category. In version 2.2 you have to select the category under Links. This is not working. If you select the parent category, it still does not put it under this parent.
n/a Points
2015-11-03 10:12 pm

Wow there's about a dozen posts here relating to a category issue that affects the ability to add subcategories.

The first post I saw was dated - I believe - Dec 2014. Well I just installed a brand new OC today - v2.1.0.1 - clean install, no mods, themes or changes of any kind, and I am having the exact same issue.

Parent categories add and display fine in the top navbar. Subcategories add fine to the parent categories.

But if you try to add any category to another category that is not a parent category you're out of luck. The only categories that appear in the Add Category/Data/Parent dropbox are top level categories and it seems to be limited to a total of 5 of them, since I have 9 and only 5 will display.

Same issue as others and here it is many versions and almost a year later!

FWIW - in regard to the reply above mine v2x - at least my installation - does not have an admin/controller/catalog/category.php

I have catalog/controller/module/category.php and catalog/controller/product/category.php but neither of these have any limit => 5, or in fact the number 5 anywhere.

For those who wonder why I don't just post on the OC forum - I did, but because I'm new they will not publish my post until it has been approved by an admin and who knows how long that will be. It's been a couple hours already.

I am completely at a standstill with my store development, as I cannot continue until this is resolved...

42,946 Points
2015-11-04 12:56 pm
Hello Richards,

I think I understand your question, and it's probably a misunderstanding of how the system works. Categories are either going to be parent categories, or they're sub-categories under a parent - there's no other type. You can't add a category to a parent category as neither a subcategory or category. It's just the way the system has been created. If you are trying to modify that relationship, you would be changing the software and you would need to speak with the author of the software to make that happen. I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.
n/a Points
2015-10-23 4:57 am


please i have created an opencart site on my system, i have been able to solve all issues but one:

When uploading a product and i get to the links tab, and i start selecting categories, only 5 categories show up, how can i get it to show all categories so i can upload one product into multiple categories.


10,077 Points
2015-10-26 11:40 am
Hello Tolu,

It seems that you need to edit the following file: admin/controller/catalog/category.php. Find where it has 'limit' => 5 and change it to how ever many categories you have.

Best Regards,
TJ Edens
n/a Points
2016-02-10 5:28 pm

Finally, man! You has the right answer... Thank you! Jacob

n/a Points
2016-04-21 10:17 am

2.2 version, has also this problem.




Hello Tolu,It seems that you need to edit the following file: admin/controller/catalog/category.php. Find where it has 'limit' => 5 and change it to how ever many categories you have.Best Regards,TJ Edens






n/a Points
2016-11-26 2:34 am

thank u

i got it 

n/a Points
2017-06-30 6:38 am

Been looking for the solution for an hour and found this in the thread>>>>

It seems that you need to edit the following file: admin/controller/catalog/category.php. Find where it has 'limit' => 5 and change it to how ever many categories you have.

I changed it to 20 and all parents showed up!!!!!!!!!   

Thankyou TJ Edens

n/a Points
2015-10-21 5:41 am

I can't Products to the categories, why! why!! why!!! Really need your help guys


42,946 Points
2015-10-21 12:45 pm
Helo Osinubi George,

Sorry for the problem with your products and categories. We need a little more information in order to review the problem. Please provide us the version of Opencart, third party extensions, exact steps you're taking to duplicate the problem and if you're hosted with us - please provide a URL.

Provide us a little more information and we'll look into it further.

Arnel C
n/a Points
2015-09-30 10:03 pm


I'm having problem to select categories into product. For example I already created 5 categories and I enabled it all, but when to select categories, it only show 4. Please help.



31,595 Points
2015-10-01 9:03 am
Hello Ahmad,

Thank you for contacting us. We are happy to help, but will need some additional information.

Can you provide a link to the site for testing?

Thank you,
n/a Points
2015-09-11 4:15 am

site url : http://www.******.com/

what actually i needed is when i click on categories in select box which is there in header ...the products added to that categories has to load.

and one more request ...Can i add advanced search module for my open cart theme which works fine..i request some one could help me out soon....plz...

n/a Points
2015-09-10 8:32 am


Thanks in Advance.I'm having a problem where i cannot load or populate the products when i select the category in select box which is in header ...I added the search box and select box externally..what to do to make it work..could some one help me out...plzzzzzzzzzz


31,595 Points
2015-09-10 11:49 am
Hello vinay,

Thank you for contacting us. We are happy to help you troubleshoot, but will need some additional information. Can you provide a link to the site, and steps to see the problem?

Are you customizing the theme? What theme are you using?

What version of OpenCart are you using?

Thank you,
n/a Points
2015-09-01 5:50 am

Category -> DATA -> SHOW IN MENU (check the box)


n/a Points
2015-04-12 12:13 pm

i have recently import my catagories and products from opencart to catagories not showing products now . how i solve this problem now.

43,761 Points
2015-04-13 1:50 pm
Hello fareed,

We currently do not have any articles for OpenCart 2.x. Are you getting any error message when you attempt to import? Also, have you checked into the upgrade extension that is supposed to update an existing 1.5x to 2.0?

Kindest Regards,
Scott M
n/a Points
2015-04-08 2:16 am

Daily I am adding lot of products to my opencart site  but the problem arises from the date available option in the product section of the admin panel.

the products are not displaying due to date available option.

It tooks the current date.

suppose if today's date is april 8th 2015 and after giving all the deatails of the product and after saving it, its not showing in the front end.


It will be shown only if I change the todays date to yesterdays date as april 7th 2015 or any previous dates.

the product is not displaying because of the current date.



how can I get solved?

43,761 Points
2015-04-08 8:41 am
Hello Arun,

When I add a product in my store, it makes the available date whatever yesterdays date was. For example, if I add one for today (April 8) it has April 7 in the 'available date' field. Are you not seeing this behavior? Which version are you using?

You can always either just change this to the day before or wait until the next day for the products to show up.

Kindest Regards,
Scott M
n/a Points
2015-02-06 9:51 am

I am also having same problem.

I can add categories and they all show up the menu bar.

However going to Links under Edit Product, only 5 will appear under Categories DropDown box so that i am unable to select correct cagetory for the product.

Hope to get solution soon.

11,186 Points
2015-02-06 6:54 pm
It appears that this is a known issue with OpenCart. Posting at the OpenCart forums may pose a solution.
n/a Points
2015-01-25 6:56 am

I am unable to add new categoreis and sub categores as well as products too. in open cart Kindly help us.

31,595 Points
2015-01-26 11:45 am
Hello shanibb,

Thank you for your question. We are happy to help, but will need some information to help narrow down the cause.

What happens when you add a category/subcategory?

Do you get any errors? What are they?

Do you get a blank screen?

What 3rd party addons/themes are you using?

Thank you,
n/a Points
2016-04-07 6:09 am

here is the summery of the problem, please assist.1. there are no error mesages2. all subcategories do not appear in products>links>categories3. even if you copy/past or type the subcategory it does not carry over to the list of catecories you want your product to appear in.4. this problem is not just in products but in categories as well. Meaning if i want to to create a sub, subcategory the selection do not appear.

n/a Points
2015-01-01 10:11 pm

So, this has been going on for over a year and hasn't been fixed? I am on a new install and having the same issue, no matter what catagoiries and subcatagories I add, I can only see the original defaut catagories that were installed with the software when I try to add products.  Not very promising...

10,077 Points
2015-01-02 10:04 am
Hello Mike,

I was not able to replicate the issue of only seeing the default categories. Have you tried clearing your browsers cache as that may be the cause of this issue.

Kindest Regards,
TJ Edens
n/a Points
2014-12-21 7:30 pm

I am having same problem.

I can add categories and they all show up the menu bar.

However going to Links under Edit Product, only 5 will appear under Categories DropDown box.

11,186 Points
2014-12-22 10:07 am
Are you getting any error messages? Are the categories you are adding under parent categories that you may have to go deeper into?
n/a Points
2014-12-22 11:44 am

There are no error messages.

This is what happens:

I add 8 categories.

All 8 categories correctly show up on the navigation bar.

Then I add a product.  When I go to add a link and click "categories",

only 5 categories show in the drop down box.


11,186 Points
2014-12-22 11:56 am
I've done some research on the issue as a large majority of people running OpenCart are experiencing the same thing. It appears that it is a bug within OpenCart itself and you may have the best luck on the OpenCart forums as someone may have a custom solution to fix the bug.
n/a Points
2015-06-25 2:24 am



solution is here.... start with  %   in your catagories textbox..and tan start writing name of catagory and sub catagories of ur oc that u have added, now u can view the list of ur category and sub catagories.

hope this will help u all.

n/a Points
2015-12-24 2:18 pm

I found some discussion here -

n/a Points
2014-12-22 10:39 am

Hi Bruce, 

Did your problem solved, I am having the same problem with you that the menu dropbox can only show the top 5 products.


11,186 Points
2014-12-22 11:41 am
Based on the research I have done, it may be a bug within OpenCart itself that is causing this. Posting on the OpenCart forums may lead you to further information on the issue.
n/a Points
2014-12-10 4:05 am


I met the same problem here, can not add a new product inside the same category.


42,946 Points
2014-12-10 9:55 am
Hello Ray,

I'm sorry you're having problems with the OpenCart. We do need more information in order for us to assist you, please. Can you please provide any error messages? Screenshots of the problem you're seeing? Also, the exact steps you're taking to get to the problem, and if you have installed any plugins would help us. I am running OpenCart and it's able to add products in a category. So I am currently unable to duplicate your problem. Please provide us more information and we would be happy to assist you further.

Arnel C.
n/a Points
2014-11-11 8:11 pm

I am able to add categories and products but after that im stuck when i try to add a already created product to a category can someone help me?

11,186 Points
2014-11-11 8:26 pm
In the newest version of OpenCart (2.0), you could change the category by visiting the product within the administration area, clicking on the Links tab, and adjusting your categories there.
n/a Points
2014-07-26 12:35 am
This is a well formed site
n/a Points
2014-06-04 3:10 pm

Hi, my products are not displaying under my categories. I did all the steps correctly. 

I can't seem to add categories to my store. I can add products, but I want similar products in the same category. 


Any help would be appreciated.



9,968 Points
2014-06-04 3:17 pm
Hello Sarah, and thank you for your comment.

Are you able to see already existing categories in OpenCart and just not create any new ones?

It sounds like you might be missing one of the required fields that you need to fill out while creating a category. Are you getting any errors when you are unable to add a new category?

Make sure for instance if you've got more than 1 language installed for OpenCart that you are entering in the Category Name field for each language tab.

Please let us know any additional information that you have that could help us try to replicate this problem so we can help you fix it.

- Jacob
n/a Points
2015-06-09 5:44 am
I am also facing the same problem.While adding sub category,the parent is not showing in home page.tried several times. Is it bug of Opencart.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

48 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!