Attributes and Attribute Groups

What are attributes? How do you use them in OpenCart? Product attributes and can be thought of as additional features in a product that provide benefit. An example of this would be something like the amount of RAM included or the clockspeed of a processor that comes with a computer that you are selling in your OpenCart store.


When you set attributes in OpenCart what happens is that an additional tab in the tab box called “Specification” will appear on the product’s page for most templates/themes. Some templates may not support this, but most will. If you’re using the default OpenCart theme, this tab will display a table that has product attributes listed out. You must first to add the attribute to an attribute group before you can add it to the product itself.

To do this, you’re going to first want to create an attribute group.

Creating an Attribute Group

The first step in getting to add attributes to a product is to create an attribute group To do this…

  1. Sign in to your OpenCart administration panel.
  2. Hover over the “Catalog” menu item, hover over the “Attributes” menu item and click “Attributes Groups”
  3. Add a new attribute group by clicking the “Insert” button at the top of the page.
  4. Choose a name for the attribute group and enter the sort order. The sort order will specify what order the attribute will be shown in the display if multiple attributes are selected for a particular product.
  5. Click “Save”
The attribute group can be thought of as the section in which various attributes will be added. The table(s) that appear in the specification tab will have the attribute groups as the headings for each section of the tables.

Adding an Attribute to the Attribute Group

Now that you have your attribute group added, it’s time to add an attribute to the attribute group.

    1. After creating your attribute group, in your OpenCart administration panel hover over the “Catalog” menu item, hover over the “Attributes” menu item and click “Attributes”
    2. Add a new attribute by clicking the “Insert” button at the top of the page.
    3. Choose the Attribute name and which group you want to add the attribute to as well as the sort order.

  1. Click “Save”
You attribute should now be ready for use!

Adding an Attribute to a Product

Now that you have your attribute added, it’s time to add it to a product.

  1. Hover over the “Catalog” menu item, and click “Products”
  2. Choose a product that you want to add attributes to and click “Edit”
  3. Select the “Attribute” tab.
  4. Add a new attribute by clicking on the “Add Attribute” button.
  5. In the first field start to enter the name of the attribute that you added previously above. It should autocomplete for you.
  6. Add the text value of what you want this attribute to be in the next field. For example, the attribute might be “RAM” and the value might be “3.0 GB”
  7. Click “Save”

Now you can go to that product’s page and under the “Specification” tab, you should be able to see the attributes displayed.

All you have to do from there is repeat the process for other attributes in order to enhance the details that you can provide to your users.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Official "User Manual" of OpenCart

Here you can find the full User Manual of OpenCart:Click here to view the Admin Guide by OpenCart

Installing / Using OpenCart extensions

We use the latest version of OpenCart so make sure that the extension is 1.5.5.x compatible. Keep...

Understanding the MijoShop Layout and Modules

This is a tutorial post regarding the internal Mijoshop (OpenCart) layout and how you can use the...

Adding Categories

This article will teach you how to add a category in to your Mijoshop store in your Mijoshop...

Adding Products

Learning how to add products is probably one of the more important aspects, if not the most...