I'm having lot's of item with red (not in use)status. and i feel like having it short by the status so i can focus on the green one.
here how to do it.
in catalog/admin/categories.php
search:
-------------------------------------------------
pd.products_name like '%" . tep_db_input($search) . "%' order by pd.products_name");
replace with:
-------------------------------------------------
pd.products_name like '%" . tep_db_input($search) . "%' order by p.products_status");
// backup for short by status
// pd.products_name like '%" . tep_db_input($search) . "%' order by pd.products_name");
search:
-------------------------------------------------
(int)$current_category_id . "' order by pd.products_name");
replace with:
-------------------------------------------------
(int)$current_category_id . "' order by p.products_status");
// backup for short by status
// (int)$current_category_id . "' order by pd.products_name");
-------------------------------------------------
if you want to restore it, just replace by the backup comments...
if you currently shorted by products_model, then simply change the p.products_model to p.products_status within that sql array.
save and upload!
More...





LinkBack URL
About LinkBacks









Bookmarks