How to add a subcategory in osCommerce

After learning to add categories for your products, you may want to further divide them into subcategories. This article will explain how to create subcategories in osCommerce via the admin interface.

Adding subcategory in osCommerce

  1. Log into your osCommerce admin interface.
  2. click catalog menu option

    Under the left hand menu find and click the Catalog button.

  3. Click on the Categories/Products.
  4. click new category folder

    This brings you to the Categories/Products page where your categories are listed. Click on the folder icon next to the category you want to add a subcategory to. For example, we will be adding a subcategory to our Pets category which we created in our Category article.

  5. click add new category

    You are now on the subcategory list page for your selected category. You can check to see if you are in the right place by looking in the upper right corner for the Go To field. The name of your main category should be there. In our case, it is Pets. Once you are sure you are in the right place, click on the + New Category button to continue.

  6. enter data

    The data fields will appear on the right hand side. These are the same type of fields that appear for the main category creation.

    SettingDescription
    Category NameName of the subcategory
    Category ImageUploads an image from your local computer.
    Sort OrderSet the order you want the subcategory to display, the lower the number the higher in the list. If more than one subcategory has the same sort order, they will be ordered alphabetically.
  7. Once the data is entered, click the Save button to save the subcategory. It will now display in the list as demonstrated below:

    BeforeAfter
    before the subcategory added

    after the subcategory is created

Was this article helpful? Join the conversation!