how to change this in version 1.5.0.5
when open category default sorting is not "default" than "price(low>high)"
thanx
If you're looking to change the default category page sort to be done by price, try this:
In catalog / controller / product / category.php
Find:
Replace With:
This won't change the wording from default to "Price (Low>High)" though.
Joel.
In catalog / controller / product / category.php
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 = 'p.price';
}
Joel.
If anyone still cares you can change the price sorting from Low to High, to High to Low.
go to Catalog / Controller / product / category.php
On mine it is Line 24 to line 28. Replace this:
With this:
tested and works perfectly on version 1.5.5.1 Hope this helps!
go to Catalog / Controller / product / category.php
On mine it is Line 24 to line 28. Replace this:
Code: Select all
if (isset($this->request->get['order'])) {
$order = $this->request->get['order'];
} else {
$order = 'ASC';
}
Code: Select all
if (isset($this->request->get['order'])) {
$order = $this->request->get['order'];
} else {
$order = 'DESC';
}
Who is online
Users browsing this forum: No registered users and 4 guests