コード例 #1
0
ファイル: Billing.php プロジェクト: ramantalkin/tmp01skin
 /**
  * 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();
 }
コード例 #2
0
ファイル: Billing.php プロジェクト: guohuadeng/stampApp
 /**
  * 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');
 }
コード例 #3
0
ファイル: Billing.php プロジェクト: nilshopsahl/hasla.local
 /**
  * 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();
 }
コード例 #4
0
 protected function _construct()
 {
     parent::_construct();
     $this->_mainModel = Mage::getModel('aitcheckoutfields/aitcheckoutfields');
 }