Post by mahsash » Tue Dec 06, 2016 5:35 pm

hi,
i want to order my product list by "stock_status_id" by default
and i change "catalog/controller/product/category.php file:
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.stock_status_id';
}

if (isset($this->request->get['order'])) {
$order = $this->request->get['order'];
} else {
$order = 'DESC';
}

but it doesnt work!could anyone help me plzzz :( :(


Posts

Joined
Tue Dec 06, 2016 1:03 pm