Example #1
0
 /**
  * Retrieve checkout url
  *
  * @return string
  */
 public function getCheckoutUrl()
 {
     if (!Mage::helper('onestepcheckout')->isRewriteCheckoutLinksEnabled()) {
         return parent::getCheckoutUrl();
     }
     return $this->_getUrl('onestepcheckout', array('_secure' => true));
 }
Example #2
0
 /**
  * get Checkout Url
  * 
  * @return string
  */
 public function getCheckoutUrl()
 {
     if (Mage::helper("onecheckout")->isActive()) {
         return $this->_getUrl('onecheckout');
     }
     return parent::getCheckoutUrl();
 }
Example #3
0
 /**
  * Retrieve checkout url
  *
  * @return string
  */
 public function getCheckoutUrl()
 {
     if (Mage::helper('firecheckout')->canFireCheckout()) {
         return $this->_getUrl('firecheckout', array('_secure' => true));
     }
     return parent::getCheckoutUrl();
 }
Example #4
0
 /**
  * One Page (OP) checkout urls
  */
 public function getOPCheckoutUrl()
 {
     if (Mage::helper('opc')->isEnable()) {
         return $this->_getUrl('onepage', array('_secure' => true));
     } else {
         return parent::getOPCheckoutUrl();
     }
 }
Example #5
0
 public function getCheckoutUrl()
 {
     if (Mage::helper('onepagecheckout')->isOnepageCheckoutEnabled()) {
         return $this->_getUrl('onepagecheckout', array('_secure' => true));
     } else {
         return parent::getCheckoutUrl();
     }
 }
Example #6
0
 /**
  * One Page (OP) checkout urls
  */
 public function getOPCheckoutUrl()
 {
     var_dump('h2');
     if (Mage::helper('onecheckout')->isEnable()) {
         return $this->_getUrl('bc_checkout', array('_secure' => true));
     } else {
         return parent::getOPCheckoutUrl();
     }
 }
Example #7
0
 /**
  * Return url for checkout
  *
  * @return url
  */
 public function getCheckoutUrl()
 {
     $mageSessHandler = Mage::GetSingleton('vbw_punchout/session');
     if ($mageSessHandler->getPunchoutId()) {
         return $this->_getUrl('checkout/punchout');
         // , array('_secure'=>true));
     } else {
         return parent::getCheckoutUrl();
     }
 }