public function getCheckoutUrl() { if (!$this->helper('onestepcheckout')->isOnepageCheckoutLinksEnabled()) { return parent::getCheckoutUrl(); } return $this->getUrl('onestepcheckout', array('_secure' => true)); }
public function getCheckoutUrl() { if (Mage::getStoreConfig('lotusbreath_onestepcheckout/general/enabled')) { return $this->getUrl('onestepcheckout', array('_secure' => true)); } return parent::getCheckoutUrl(); }
public function getCheckoutUrl() { return !$this->helper('onestepcheckout')->isRewriteCheckoutLinksEnabled() ? parent::getCheckoutUrl() : $this->getUrl('onestepcheckout', array('_secure' => true)); }