In catalog/controller/product/category.php, find this code, it's near the top of the file: And replace with If you want default order to be descending (from Z to A), replace with Then you can do the same for manufacturer.php, search.php and special.php in catalog/controller/product . Then if you use any modifications, refresh them in admin.
Code: Select all
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.sort_order';
}
if (isset($this->request->get['order'])) {
$order = $this->request->get['order'];
} else {
$order = 'ASC';
}
Code: Select all
$sort = 'p.sort_order';
Code: Select all
$sort = 'p.model';
Code: Select all
$order = 'ASC';
Code: Select all
$order = 'DESC';
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Who is online
Users browsing this forum: Amazon [Bot] and 8 guests