Important

You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Security Support ends in January 2024. Read version 5.0 (the latest LTS version) of the Oro documentation to get the updated information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Available in OroCommerce

Configure Global Website Access Settings

To prevent non-registered customers from accessing the OroCommerce storefront, you can disable website access by non-authenticated visitors. This can be done globally, per organization and per website:

When guest access is disabled:

  • New users can register if self-registration is enabled in Commerce > Customer > Customer Users > Registration Allowed.
  • Guest users can register if self-registration is allowed, even if the website access is closed.
  • Guest users cannot access any website pages, except for the login/forgot/reset password page.
  • Guest users are redirected to the login page when they try to access the homepage.
The storefront login page displayed for guest users

To enable guest access globally:

  1. Navigate to System > Configuration > Commerce > Guests > Website Access.

Note

For faster navigation between the configuration menu sections, use Quick Search.

  1. Select the Enable Guest Access checkbox.
  2. Click Save Settings.

Note

To disable guest access globally, clear the Enable Guest Access checkbox.

Guest access system configuration