Ejemplo n.º 1
0
 /**
  * Retrieve create new account url
  *
  * @return string
  */
 public function getCreateAccountUrl()
 {
     $url = $this->getData('create_account_url');
     if ($url === null) {
         $url = $this->_customerUrl->getRegisterUrl();
     }
     if ($this->checkoutData->isContextCheckout()) {
         $url = $this->coreUrl->addRequestParam($url, ['context' => 'checkout']);
     }
     return $url;
 }
Ejemplo n.º 2
0
 /**
  * Return register URL
  *
  * @return string
  */
 public function getRegisterUrl()
 {
     return $this->customerUrl->getRegisterUrl();
 }