Page 1 of 1

changing default sort

Posted: Fri Nov 25, 2011 4:56 pm
by techhelp
Does anyone know how to change the default sort status.

I need to change the default to low to high prices. Thanks for your help if anyone knows.

OC 1.5.1 standard theme

Re: changing default sort

Posted: Fri Nov 25, 2011 5:24 pm
by inactiveaccount9912

Re: changing default sort

Posted: Sun Nov 27, 2011 3:05 pm
by techhelp
I have read that topic but it is not for changing default to Low to High Price

viewtopic.php?f=20&t=39534

Re: changing default sort

Posted: Sun Nov 27, 2011 7:01 pm
by inactiveaccount9912
nosecret wrote:Try this method in localhost first:
To sort by name A- Z as default
1. Open file category.php in catalog/controller/product/category.php
2. Find (~ line 15):

Code: Select all

$sort = 'p.sort_order';
3. Replace with:

Code: Select all

$sort = 'p.price-ASC';

Re: changing default sort

Posted: Fri Feb 10, 2012 7:37 am
by rexlatour
I really need to find an answer that works.

This is not working in 1.5.3, anything I