Projects Directory : Customized function needed from Magento - Customized Groupon / Groupola / LivingSocial type script