What is a category?
A category is a group of products that belong together. In a supermarket, the milk sits in the dairy aisle. Your online store works the same way. A category can also have sub-categories, like "Phones" inside "Electronics".
Steps
- Log in to your OpenCart admin area.
- In the left menu, click Catalog.
- Click Categories.
- Click the blue Add New button (a plus sign) at the top right.
- On the General tab, type the Category Name. For example, "Electronics".
- Write a short text in the Description box if you like.
- Type a Meta Tag Title. Search engines show this title in their results. You can use the same words as the name.
- Click the Data tab.
- For a main category, leave Parent empty. For a sub-category, start typing the parent name and pick it from the list.
- Choose an Image if you want one.
- Tick Top if you want the category in the main menu bar at the top of the store.
- Set Status to Enabled.
- Open the SEO tab and add a keyword like
electronicsif you use clean web addresses. It must be unique. - Click the blue Save button.
Put a product in the category
- Go to Catalog, then Products.
- Click the pencil to edit a product.
- Open the Links tab.
- In the Categories box, start typing the category name. Pick it from the list.
- Click Save.
Tip: A category with no products will not look useful to shoppers. Add products before you make it visible.
Menu names change a little between OpenCart versions. In OpenCart 4, tabs and buttons look a bit different, but the steps are the same.
Quick recap
- Go to Catalog, then Categories, then Add New.
- Fill in the name, then use the Data tab for parent and status.
- Save the category.
- Add products to it from the Links tab of each product.