Exemplo n.º 1
0
 protected function _toHtml()
 {
     if (Mage::helper('fieldsmanager')->getStoredDatafor('enable') && !Mage::getStoreConfig('quickcheckout/general/active')) {
         $this->setTemplate("fieldsmanager/checkout/onepage/payment/methods.phtml");
     }
     return parent::_toHtml();
 }
Exemplo n.º 2
0
 protected function _toHtml()
 {
     $this->setTemplate('customerreward/checkout/payment/methods.phtml');
     if ($this->getRequest()->getModuleName() == 'onestepcheckout') {
         $this->setTemplate('customerreward/checkout/payment/onestep.phtml');
     }
     return parent::_toHtml();
 }
Exemplo n.º 3
0
 protected function _toHtml()
 {
     foreach ($this->getQuote()->getAllItems() as $item) {
         if ($item->getIsRecurring()) {
             return parent::_toHtml();
         }
     }
     $magentoVersionTag = AW_Points_Helper_Data::MAGENTO_VERSION_14;
     if (Mage::helper('points')->magentoLess14()) {
         $magentoVersionTag = AW_Points_Helper_Data::MAGENTO_VERSION_13;
     }
     $this->setTemplate('aw_points/checkout/onepage/payment/' . $magentoVersionTag . '/methods.phtml');
     return parent::_toHtml();
 }