You can display a user registration form for to allow users to register an account on your site.

KB Support will determine if the user is an existing customer, and if they are, it will automatically link their customer account to this account.

The 

Register New Account
 shortcode should be added on a page that you want to act as the registration page.

Default Usage


    
Register New Account

Optional Parameters

Register New Account
accepts a single optional parameter redirect that allows you to define the page that the user should be redirected to after registering. By default, the user will be redirected back to the page that the registration form was displayed on. However, if you wanted to redirect them elsewhere on your site, such as your homepage, you could make use of this parameter like so:


    
Register New Account

The registration form is populated by the shortcode-register.php template file.

If the user is logged in, “You are already logged in. No registration is required.” will be displayed instead of the registration form.


Was this article helpful?

[kbs_register] Shortcode

You can display a user registration form for to allow users to register an account on your site. KB Support will determine if the user is an existing customer, and if they are, it will automatically link their customer account to this account. The [kbs_register] shortcode should be added on a page that you want to act as the…
KB Article rating: 2.0 based on 1 ratings