RodrigoDC Posted October 18, 2002 Posted October 18, 2002 Is there a module or a hack that would allow an admin to be notified via e-mail whenever a product is below an critical number of items? Or is this function already included on realese 2.2? If so, where? Thank you very much in advance. RV :?:
mattice Posted October 18, 2002 Posted October 18, 2002 You can do it by adding an extra query to checkout_process.php. Right after the update of the stock you can add another one that checks the actual quantity. If that quantity is below XX you call tep_mail() with a message that says 'Only $number left of $item' osCommerce. Gotta love it. :) "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.