To alter the report to exclude products with products_status = 0 you can edit the report file for stats_products_lowstock.php and find the select statement:
PHP Code:
$products_query_raw = "select p.products_id, pd.products_name, p.products_quantity, p.products_type from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and pd.language_id='" . $_SESSION['languages_id'] . "' order by p.products_quantity, pd.products_name";
and add in the filter(s) you need such as p.products_status = 1 ...
Bookmarks