public function getShipping()
 {
     // start aitoc
     return Mage::helper('aitconfcheckout/onepage')->getAddress(parent::getShipping());
     // finish aitoc
     // return $this->getQuote()->getShippingAddress();
 }
Esempio n. 2
0
 protected function _toHtml()
 {
     $html = parent::_toHtml();
     if (Mage::getStoreConfig('amorderattr/checkout/progress')) {
         $html = preg_replace('@opc-billing(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(2), $html);
         $html = preg_replace('@opc-shipping(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(3), $html);
         $html = preg_replace('@opc-shipping_method(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(4), $html);
         $html = preg_replace('@opc-payment(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(5), $html);
     }
     return $html;
 }
Esempio n. 3
0
 /**
  * Get checkout steps codes
  *
  * @return array
  */
 protected function _getStepCodes()
 {
     return Mage::getStoreConfig('checkoutdiscountcode/config/enable') ? array('login', 'billing', 'shipping', 'discountcode', 'shipping_method', 'payment', 'review') : parent::_getStepCodes();
 }