Change Default Sorting Method

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
iffautomation
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Sat Jun 06, 2009 7:44 am
Location: Indiana
Contact:

Change Default Sorting Method

Post by iffautomation » Thu Jun 11, 2009 5:03 pm

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Change Default Sorting Method

Post by mazhar » Fri Jun 12, 2009 4:39 am

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>

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Change Default Sorting Method

Post by kastnerd » Fri Jun 12, 2009 5:56 am

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?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Change Default Sorting Method

Post by jmestep » Fri Jun 12, 2009 6:10 am

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?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

iffautomation
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Sat Jun 06, 2009 7:44 am
Location: Indiana
Contact:

Re: Change Default Sorting Method

Post by iffautomation » Fri Jun 12, 2009 7:33 am

Thanks Mazhar,
That did exactly what I wanted.
I appriciate the help!

iffautomation.com

Post Reply