i am looking to change the default sort to " price highest first " which file and line of text do i need to look at?
I'd suggest writing a VQMod rather than hacking the core. Either way you need to look at catalog/controller/product/category.php and change line 21 from:
to
and line 27 from:
to
Code: Select all
$sort = 'p.sort_order';
Code: Select all
$sort = 'p.price';
Code: Select all
$order = 'ASC';
Code: Select all
$order = 'DESC';
Who is online
Users browsing this forum: No registered users and 28 guests