/** * Retrieve checkout url * * @return string */ public function getCheckoutUrl() { if (!Mage::helper('onestepcheckout')->isRewriteCheckoutLinksEnabled()) { return parent::getCheckoutUrl(); } return $this->_getUrl('onestepcheckout', array('_secure' => true)); }
/** * get Checkout Url * * @return string */ public function getCheckoutUrl() { if (Mage::helper("onecheckout")->isActive()) { return $this->_getUrl('onecheckout'); } return parent::getCheckoutUrl(); }
/** * Retrieve checkout url * * @return string */ public function getCheckoutUrl() { if (Mage::helper('firecheckout')->canFireCheckout()) { return $this->_getUrl('firecheckout', array('_secure' => true)); } return parent::getCheckoutUrl(); }
/** * One Page (OP) checkout urls */ public function getOPCheckoutUrl() { if (Mage::helper('opc')->isEnable()) { return $this->_getUrl('onepage', array('_secure' => true)); } else { return parent::getOPCheckoutUrl(); } }
public function getCheckoutUrl() { if (Mage::helper('onepagecheckout')->isOnepageCheckoutEnabled()) { return $this->_getUrl('onepagecheckout', array('_secure' => true)); } else { return parent::getCheckoutUrl(); } }
/** * 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(); } }
/** * 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(); } }