コード例 #1
0
 /**
  * Override block template
  *
  * @return string
  */
 protected function _toHtml()
 {
     if ($this->_getCode() == "ratepay_rate") {
         $this->setTemplate('ratepay/checkout/installmentplan.phtml');
     }
     return parent::_toHtml();
 }
コード例 #2
0
 /**
  * Override block template
  *
  * @return string
  */
 protected function _toHtml()
 {
     $status = Mage::getStoreConfig('ordercomment/ordercomment_group/ordercomment_enable');
     if ($status == 1) {
         $this->setTemplate('ordercomment/checkout/agreements.phtml');
         return parent::_toHtml();
     }
 }
コード例 #3
0
 /**
  * Override block template
  *
  * @return  string
  */
 protected function _toHtml()
 {
     $this->setTemplate('ordercomment/checkout/agreements.phtml');
     return parent::_toHtml();
 }
コード例 #4
0
 /**
  * Override block template
  *
  * @return string
  */
 protected function _toHtml()
 {
     $this->setTemplate('todopagomodulodepago/checkout/agreements.phtml');
     return parent::_toHtml();
 }