Beispiel #1
0
 public function _toHtml()
 {
     if (!Mage::helper('checkout')->isMultishippingCheckoutAvailable()) {
         return '';
     }
     return parent::_toHtml();
 }
Beispiel #2
0
 public function getCheckoutUrl()
 {
     if (!$this->helper('onestepcheckout')->isOnepageCheckoutLinksEnabled()) {
         return parent::getCheckoutUrl();
     }
     return $this->getUrl('onestepcheckout', array('_secure' => true));
 }
Beispiel #3
0
 public function getCheckoutUrl()
 {
     if (Mage::getStoreConfig('lotusbreath_onestepcheckout/general/enabled')) {
         return $this->getUrl('onestepcheckout', array('_secure' => true));
     }
     return parent::getCheckoutUrl();
 }
Beispiel #4
0
 public function getCheckoutUrl()
 {
     return !$this->helper('onestepcheckout')->isRewriteCheckoutLinksEnabled() ? parent::getCheckoutUrl() : $this->getUrl('onestepcheckout', array('_secure' => true));
 }