On the product pages the sort option is currently set to "Default". I need to set it to "Name (A-Z)". How can I make it stay at "Name(A-Z)"?
open: catalog/controller/product/category.php
find:
replace with:
The default sort order is now a-z....
Simon recently helped with the just this topic, so I hope that I can now help you....
find:
Code: Select all
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.sort_order';
}
Code: Select all
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'pd.name';
}
Simon recently helped with the just this topic, so I hope that I can now help you....

Custom Website Design from BCO ~ Building Companies Online
If we were of assistance to you, please help my family in return with a small donation.
Who is online
Users browsing this forum: No registered users and 11 guests