Working with high value goods, trying to minimise staff theft is an ongoing problem.
Here’s my latest trick to catch them out…
Allow them full access to be able to adjust stock levels up and down in the admin.
Edit /include/admin/products.php
Find the function: fn_update_product(
after “if (!empty($product_data)) {”
Put:
$_data = fn_check_table_fields($product_data, $db_tables['products']);
if ($oldamount != $_data[amount])
{
mail("YOUREMAIL@ADDRESS","$_data[product_code] changed from $oldamount to $_data[amount]","$_data[product_code] changed from $oldamount to $_data[amount]",$headers);
}
You will now get an email whenever someone adjusts stock.