Changing 'Sort By Products' in Magento

Changing 'Sort By Products' in Magento

July 2, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Changing 'Sort By Products' in Magento

Changing ‘Sort By Products’ in Magento

Changing the sort order of products is a common requirement in Magento e-commerce stores. It allows you to control how your products are displayed on category pages. In this post, we’ll guide you through changing the default and available product listing sorts both at the category level and at the store/website/configuration level.

Setting Default Sort Order for Category

When you navigate to the Category page in Magento administration (Catalog > Manage Categories), look for the “Display Settings” tab. Here, you can modify two crucial settings:

  1. Available Product Listing Sort By: This determines which sorting options are available to customers on the frontend.
  2. Default Product Listing Sort By: This sets the default sorting method used when a customer visits the category page.

Let’s demonstrate how to change the default sort order for a specific category:

  1. Select the category you want to modify, e.g., “Bedroom” if you’re using Magento CE 1.7 with Sample Data.
  2. Under the “Display Settings” tab, deselect “Use Config Settings”.
  3. In the “Default Product Listing Sort By” field, select “Price”.
  4. If desired, you can also modify the “Available Product Listing Sort By” options by unchecking attributes like “Best Value” to limit sorting choices for customers.
  5. Click the “Save Category” button.

After following these steps, when a customer visits the specified category page, they’ll see all items sorted in ascending order by price (lowest to highest). Remember that changes at the category level override settings at higher levels.

Setting Default Sort Order for Store / Website / Default Config

You can also set the default sort order for an entire store or website. To do this:

  1. Navigate to System > Configuration > Catalog (in the left menu) > Frontend.
  2. Find the “Product Listing Sort by” drop-down menu.
  3. Deselect “Use Default”.
  4. Select your desired sorting method, such as “Price”.

This setting applies a fallback rule for all categories within the specified view (Store/Website/Default). It’s important to note that this has lower priority than sorting rules set directly in the category page.

Magento Sorting Fallback Rules

When a customer visits a category page, Magento determines the default sort order using these priorities:

  1. If set, it will use the “Default Sort” option configured for that specific category.
  2. If not set, it looks for the “Default Sort” configuration applied to the current store.
  3. If still not found, it checks the “Default Sort” configuration for the website.
  4. If no match is found, it defaults to the global “Default Sort” setting in Magento’s configuration.

In most cases, without any specific sorting configured, Magento will fall back to sorting by “Position” (a.k.a. “Best Value”) as its default option.

Conclusion

Changing the sort order of products in Magento requires a clear understanding of how settings at different levels interact with each other. By following this guide, you can efficiently manage your product listings and provide customers with the best shopping experience possible.

For more advanced customizations and detailed technical references, I recommend visiting Laravel Company. They offer in-depth Magento development services and resources to help you optimize your e-commerce platform. Don’t hesitate to reach out if you need professional assistance for your Magento store.

Magento 1 Catalog Admin Configuration

Our network