Allowing checkout processes for anonymous or registered customers

When configuring your checkout process, you may set which customers, registered or unregistered, are allowed to make orders.

You can choose from the following options:

Allowing checkout processes for both anonymous and registered customers

Both anonymous and registered customers can purchase your products and therefore go through the checkout process by default.

If you want to add your anonymous customers the option to register themselves after their first checkout, you can add theRegister after checkoutweb part to an appropriate step of the checkout process (usually the final step if you created a multi-step checkout process). You can also automatically register them and send them the password via an email notification.

Allowing checkout processes only for registered customers

To prevent anonymous users from purchasing your products without a user account, you need to prevent your customers to finish their checkout process without logging in. When placing web parts for the checkout process, create a login step with the following web parts:

  • The Logon form web part – allows registered customers to sign into the system.
    • Configure the web part to refresh the step after a successful authentication. The Page wizard step action web part then automatically steps over to the next checkout step.

      • Default target URL: {% CurrentDocument.RelativeURL %}
  • The Custom registration form web part – allows customers visiting your on-line store for the first time to register.
    • Configure the web part to refresh the step after a successful registration. The Page wizard step action web part then automatically steps over to the next checkout step.

      • Redirect to URL: {% CurrentDocument.RelativeURL %}
  • The Page wizard step action web part – the system skips the step if the customer is already logged in (authenticated) while going through the checkout process:
    • Action type: Skip
    • Action condition: MembershipContext.AuthenticatedUser.IsAuthenticated

Do not add the Page wizard button web part to the step. The “Continue as guest” button is the Page wizard button web part. Anonymous customers can then skip the registration and continue even without being registered.

Disabling registration to provide checkout process only for anonymous customers

To disable registration, simply do not put any registration web part to the checkout process.

In this case, do not forget to place theCustomer detailandCustomer addressweb parts to the checkout process to let the customers enter their billing and shipping information.