Please note: I am not a php programmer, so proceed with caution.

After installing this I came accross two errors.

To allow changing status from active to inactive and vv
In the stats_low_stock.php
replace

require('includes/application_top.php');
if ($action=='setflag') {

with

require('includes/application_top.php');
$action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');
if ($action=='setflag') {



To fix SQL error
On line 99 replace