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."

  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.

categories_5

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

Continued Education in Course 101: Installing OpenCart and Adding Products
You are viewing Section 6: Adding Product Categories in OpenCart
Section 5: Removing Categories for Products in OpenCart
Section 7: Removing Products from OpenCart
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.

 

Sarah

Staff
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
2014-07-26 12:35 am
This is a well formed site
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?

Staff
11,156 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-12-10 4:05 am

Hey,

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

Ray

Staff
22,939 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 2.0.1.1 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.

Regards,
Arnel C.
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.

Staff
11,156 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.

   

Staff
11,156 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
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.

Ray.

Staff
11,156 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
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...

Staff
2,274 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
2015-01-25 6:56 am

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

Staff
14,749 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,
John-Paul
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.

Staff
11,156 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-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?

Staff
25,295 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-04-12 12:13 pm

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

Staff
25,295 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

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

24 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

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: support@InMotionHosting.com
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!