InMotion Hosting Support Center
This is archived and no longer maintained. Any information contained in this article may be out of date.

When you are working with your products and their categories in your store, you may come across a time when you need to reorganize the way they are listed. This is done by changing the Sort order setting. Below are instructions for changing the sort order for categories and products in your osCommerce store via the admin panel.

How to change the sort order for categories and products in osCommerce

  1. Log into your osCommerce admin interface.
  2. click catalog menu optionUsing the left hand menu, find and click the Catalog button.
  3. From there, click on the Categories/Products.
  4. click edit buttonOnce on the Categories/Products page, click on the row for the category or product you want. An arrow will appear on the far right side of the row. Next to that you will see several buttons. Click on the Edit button.
  5. edit sort order fieldThis brings up the data for the category or product. In our example, we are going to move the Pets category. Look for the Sort Order field. From here, enter your new value. The lower the number, the higher it will appear in the list. If you give multiple categories/products the same sort order, they will then order themselves alphabetically.
  6. Click on the Save button to save the new sort order. Below is an example of how the category list changes when you change the sort order.
    before sort order is changedafter the sort order is changed

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2015-01-11 10:29 am

Ok, for the categories is easy, but how do you manage to sort the products? Because there you don't have the sort order input field.

43,761 Points
2015-01-12 2:12 pm
Hello Newbye,

Product ordering is set to be alphabetically by the product name. This is the default method and is hard coded into the index.php file. While it can be changed, it does require the modification of the core file. This is never advised as updates can simply reset the code to the original state. Still, if this is something you wish to attempt, the OsCommerce forums have some great instructions on how to do so. This option is very old (2008), so it may not work.

Note that this procedure was neither tested nor verified by us, nor do we condone any specific third party recommendation. It is simply linked as an option.

Kindest Regards,
Scott M

Post a Comment

Email Address:
Phone Number:

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

2 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!