protected function _toHtml() { $html = parent::_toHtml(); if ('' != $html) { if (Mage::getConfig()->getNode('modules/Ebizmarts_SagePaySuite/active')) { $html .= ' <script type="text/javascript"> //<![CDATA[ SageServer = new EbizmartsSagePaySuite.Checkout ( { \'checkout\': checkout, \'review\': review, \'payment\': payment, \'billing\': billing, \'accordion\': accordion } ); //]]> </script> '; } } return $html; }
protected function _toHtml() { if (Mage::helper('fieldsmanager')->getStoredDatafor('enable') && !Mage::getStoreConfig('quickcheckout/general/active')) { $this->setTemplate("fieldsmanager/checkout/onepage/review/info.phtml"); } return parent::_toHtml(); }