If you look at "SMS on Sale," you'll see how to do it without changing core Zen Cart files.

http://www.zen-cart.com/downloads.php?do=file&id=291