Example #1
0
 public function _toHtml()
 {
     if ($this->_isActive()) {
         return parent::_toHtml();
     }
     return '';
 }
Example #2
0
 public function _toHtml()
 {
     $quote = Mage::getSingleton('checkout/session')->getQuote();
     if ($this->_isActive() && $quote->validateMinimumAmount()) {
         return parent::_toHtml();
     }
     return '';
 }
Example #3
0
 protected function _construct()
 {
     $this->getCheckout()->setStepData('payment', array('label' => Mage::helper('checkout')->__('Payment Information'), 'is_show' => $this->isShow()));
     parent::_construct();
 }
Example #4
0
 /**
  * Initialize data and prepare it for output
  */
 protected function _beforeToHtml()
 {
     $this->_prepareLastOrder();
     return parent::_beforeToHtml();
 }
 protected function _construct()
 {
     $this->getCheckout()->setStepData('shipping', array('label' => Mage::helper('checkout')->__('Shipping Information'), 'is_show' => $this->isShow(), 'allow' => true));
     parent::_construct();
 }