Exemple #1
0
 /**
  * Retrieve create new account url
  *
  * @return string
  */
 public function getCreateAccountUrl()
 {
     $url = $this->getData('create_account_url');
     if (is_null($url)) {
         $url = $this->_customerHelper->getRegisterUrl();
     }
     if ($this->checkoutData->isContextCheckout()) {
         $url = $this->coreUrl->addRequestParam($url, array('context' => 'checkout'));
     }
     return $url;
 }
Exemple #2
0
 /**
  * @return string
  */
 public function getHref()
 {
     return $this->_customerHelper->getRegisterUrl();
 }