public function _toHtml() { if ($this->_isActive()) { return parent::_toHtml(); } return ''; }
public function _toHtml() { $quote = Mage::getSingleton('checkout/session')->getQuote(); if ($this->_isActive() && $quote->validateMinimumAmount()) { return parent::_toHtml(); } return ''; }
protected function _construct() { $this->getCheckout()->setStepData('payment', array('label' => Mage::helper('checkout')->__('Payment Information'), 'is_show' => $this->isShow())); parent::_construct(); }
/** * 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(); }