Exemplo n.º 1
0
 /**
  * Override template file for different checkouts
  * @return string
  */
 public function getTemplate()
 {
     if (Mage::getStoreConfig('payment/iways_paypalplus_payment/active')) {
         if (Mage::helper('iways_paypalplus')->isFirecheckout()) {
             return self::DEFAULT_TEMPLATE;
         }
         if (Mage::helper('iways_paypalplus')->isMagestoreOsc()) {
             return self::MAGESTORE_TEMPLATE;
         }
     }
     return parent::getTemplate();
 }