Categories

Featured templates

Magento. How to change default sort order for category

Mary Gilmore March 30, 2015
Rating: 5.0/5. From 3 votes.
Please wait...

This tutorial shows how to change default sort order for category product listing in Magento.

Magento. How to change default sort order for category

In order to change the default categories sort order, you should perform the following:

Navigate to Catalog -> Manage categoriesselect the category from Categories list on the left – click ‘Display Settings’:

Magento. How to change default sort order for category1

You will see 2 sort options:

  • ‘Available Product Listing Sort by:’ option (allows you to select the options/parameters to display in the ‘sort by’ field on the category page).

  • ‘Default Product Listing Sort by:’ option (is used to display the products sorted according to certain option you select for the ‘Default Product Listing Sort by:’ field).

Let’s see how to manage ‘Default Product Listing Sort by:’ parameter.

  1. If you deselect the ‘Use Config Settings’ option for ‘Default Product Listing Sort by:’, you will see the following sort options:

    • Best Value;

    • Name;

    • Price;

  2. The Best Value products are featured products determined by the store administrator.

    Deselect ‘Use Config Settings’ and select ‘Best Value’.

    Navigate to ‘Category Products’ tab. You will see the list of products that are associated with this category. The last column is ‘Position’. That is how ‘Best Value’ is determined. So, best value is not something that is dynamically calculated. You can tailor it to your likings:

    Magento. How to change default sort order for category2

  3. In the Position column, specify the number that indicates the order in which the product is listed when the products are sorted by Best Value.

    The product with a Position value of 1 is listed first, 2 is listed second, and so on. If more than one product has the same value for Position, the product with the lowest (that is, closest to 1) ID number is listed first.

    Click the ‘Save Category’ button to save the changes:

    Magento. How to change default sort order for category3

  4. If you select i.e. ‘Price’ for ‘Default Product Listing Sort By’, you’ll see that all items are now sorted by price ascending (growing upward) for specified category on frontend.

‘Available Product Listing Sort By’ parameter allows you to select the options to display in the ‘sort by’ field on the category page. In order to manage the ‘Use All Available Attributes’ parameter, please do the following:

  1. If you deselect ‘Use All Available Attributes’ option for ‘Available Product Listing Sort by:’ field, you will see the following sort options:

    • Best Value;

    • Name;

    • Price;

  2. If you deselect ‘Use All Available Attributes’ for ‘Available Product Listing Sort By’ and if you check only few of them (i.e. ‘Name’ and ‘Price’), you’ll be able to sort just by the selected options on your frontend:

    Magento. How to change default sort order for category4

  3. Do not forget to click the ‘Save Category’ button to save the changes:

    Magento. How to change default sort order for category5

Feel free to check the detailed video tutorial below:

Magento. How to change default sort order for category

Premium Magento Templates
This entry was posted in Magento Tutorials and tagged category, listing, Magento, order, products, sort. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket