Beispiel #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;
 }