helper('onestepcheckout')->isRewriteCheckoutLinksEnabled()){ return parent::getCheckoutUrl(); } return $this->getUrl('onestepcheckout', array('_secure'=>true)); } }