RodrigoDC Posted October 18, 2002 Share 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 :?: Link to comment Share on other sites More sharing options...
mattice Posted October 18, 2002 Share 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" Link to comment Share on other sites More sharing options...
RodrigoDC Posted October 18, 2002 Author Share Posted October 18, 2002 I sure love it. Thanks a million... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.