Sign up ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

i want to sort magento products on a list page for a specific category according to my given order i.e can i have a text field in each product and give any number and my products in that specific category will sort according to it in ascending or descending.

I have tried magento default sorting i.e i have added for about 5000+ products in different categories and i want to sort them according to my sort order is there any solution for that

I ll be very thankful...!!

Thanks Mirza

share|improve this question

migrated from Nov 10 at 1:34

This question came from our site for professional and enthusiast programmers.

1 Answer 1

This is possible:

  • Make an attribute my_sort_attribute
  • Set Used for Sorting in Product Listing to Yes
  • You can now make it the default sorting in System -> Config -> Catalog -> Frontend

Only hard thing is that there is no default option for ascending or descending. You will have to write/modify code for that.

share|improve this answer
Thanks For the Answer i have found it Go to Manage Categories and Then Open The Category whom Products you want to sort and then open category products Tab and on the right most column there is a Textfield where u can give sorting order to products and the products will be displayed accordingly. – Ali Nasrullah May 19 '11 at 7:24
Magento allows you to change the position when you’re sorting by default. Go to: Catalog -> Manage Categories. Select a Category. Select the Category Products tab. Change position – Kamesh Jungi Oct 5 '12 at 7:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.