/** * Initialize billing address step * */ protected function _construct() { $this->getCheckout()->setStepData('billing', array('label' => Mage::helper('checkout')->__('Billing Information'), 'is_show' => $this->isShow())); if ($this->isCustomerLoggedIn()) { $this->getCheckout()->setStepData('billing', 'allow', true); } $this->settings = Mage::helper('oscheckout/checkout')->loadSettings(); parent::_construct(); }
/** * Initialize billing address step * */ protected function _construct() { parent::_construct(); $this->getCheckout()->setStepData('billing', array('label' => Mage::helper('checkout')->__('Shipping Information'), 'is_show' => $this->isShow())); if ($this->isCustomerLoggedIn()) { $this->getCheckout()->setStepData('billing', 'allow', true); } //$this->setTemplate('removebilling/billing.phtml'); }
/** * Initialize billing address step * */ protected function _construct() { $this->getCheckout()->setStepData('billing', array('label' => Mage::helper('checkout')->__('Billing Information'), 'is_show' => $this->isShow())); if ($this->isCustomerLoggedIn()) { $this->getCheckout()->setStepData('billing', 'allow', true); } $this->settings = Mage::helper('onestepcheckout/checkout')->loadSettings(); $enableGeoIp = Mage::getStoreConfig('onestepcheckout/general/enable_geoip'); if ($enableGeoIp == '1') { $helper = Mage::helper('onestepcheckout/checkout'); $strCountryId = $helper->getGeoIp()->countryCode; //$this->settings['default_country_id'] = $strCountryId; } parent::_construct(); }
protected function _construct() { parent::_construct(); $this->_mainModel = Mage::getModel('aitcheckoutfields/aitcheckoutfields'); }