Important
You are browsing documentation for version 6.0 of OroCommerce, supported until 2028. Read the documentation for the latest LTS version to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Configure Global Website Access Settings
Hint
This section is part of the Guest Functions topic that provides a general understanding of the guest access concept in OroCommerce.
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 and any system or landing pages explicitly allowed by the administrator.
Guest users are redirected to the login page when they try to access the homepage.
To manage guest access globally:
Navigate to System > Configuration > Commerce > Guests > Website Access.
Note
For faster navigation between the configuration menu sections, use Quick Search.
Clear the Use Default check box to manage website access settings.
To enable guest access to the storefront, select the Enable Guest Access checkbox.
To disable guest access globally, clear the Enable Guest Access checkbox.
When the option is disabled, the following additional configuration options become available (available starting from OroCommerce version 6.0.9):
Allow Guest Access to System Pages — Select the system pages that should remain available to guest users when guest access is disabled.
Allow Guest Access to Landing Pages — Select the landing (CMS) pages that should remain available to guest users when guest access is disabled.
Pages selected in these options remain accessible to guest users even when guest access is disabled, while all other storefront pages remain restricted.
Click Save Settings.