Page 1 of 1

Change Default Sorting Method

Posted: Thu Jun 11, 2009 5:03 pm
by iffautomation
I'm new to AbleCommerce and I have been trying to figure out how to change the default sorting on a products page.

By Name
Featured
By Price
By Manufacture

I want to change it to "By Price" but I can't figure out how. Is it in the yellowjacket style.css?

If anyone can help me, I would appricaite it.
Thanks

Re: Change Default Sorting Method

Posted: Fri Jun 12, 2009 4:39 am
by mazhar
Edit ConLib/CategoryGridPage.ascx file and locate following code

Code: Select all

<asp:ListItem Text="By Price (Low to High)" Value="Price ASC"></asp:ListItem>
and change it as below

Code: Select all

<asp:ListItem Text="By Price (Low to High)" Value="Price ASC" Selected="True"></asp:ListItem>

Re: Change Default Sorting Method

Posted: Fri Jun 12, 2009 5:56 am
by kastnerd
On the same topic, I want my products sorted by how they are sorted in the admin. some of the pages do this and others do not. What should i edit?

Re: Change Default Sorting Method

Posted: Fri Jun 12, 2009 6:10 am
by jmestep
That would depend on what page you are using. There are posts about a couple different ways of doing it, but I don't think there are posts about every category display page.
What page are you using?

Re: Change Default Sorting Method

Posted: Fri Jun 12, 2009 7:33 am
by iffautomation
Thanks Mazhar,
That did exactly what I wanted.
I appriciate the help!

iffautomation.com