How to do this in OC. 2.0.3.1?
How to sort by quantity?
How can i do both things in one query or with multi queries, i mean Products will be sorted A to Z but, products that are out of stock will be listed at the end.
i think there should be easy way to make this happen
i think there should be easy way to make this happen
sort with product id list ? please help me ?
p.id or pd.id or product_id try alll but doesnt work
p.id or pd.id or product_id try alll but doesnt work
i did these:
catalog/controller/product/category.php
i changed:
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.stock_status_id';
}
in default when i refresh the page no action work just when i selected default choice i see this code "?sort=p.stock_status_id&order=DESC&limit=100" but not sort by stock_status_id yet!!
in which file i can define stock_status_id?
plz help me!
catalog/controller/product/category.php
i changed:
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.stock_status_id';
}
in default when i refresh the page no action work just when i selected default choice i see this code "?sort=p.stock_status_id&order=DESC&limit=100" but not sort by stock_status_id yet!!
in which file i can define stock_status_id?
plz help me!
Who is online
Users browsing this forum: No registered users and 1 guest