Post by techhelp » Fri Nov 25, 2011 4:56 pm

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

Newbie

Posts

Joined
Wed Nov 09, 2011 9:52 am

User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by techhelp » Sun Nov 27, 2011 3:05 pm

I have read that topic but it is not for changing default to Low to High Price

viewtopic.php?f=20&t=39534

Newbie

Posts

Joined
Wed Nov 09, 2011 9:52 am

Post by florinsith » Sun Nov 27, 2011 7:01 pm

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';

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by rexlatour » Fri Feb 10, 2012 7:37 am

I really need to find an answer that works.

This is not working in 1.5.3, anything I

Newbie

Posts

Joined
Thu Dec 15, 2011 11:55 am
Who is online

Users browsing this forum: Google [Bot] and 35 guests