After July 2021, the 2.3.x release line will no longer receive quality updates, or user guide updates. PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in September 2022. We strongly recommend planning your upgrade now to Adobe Commerce 2.4.x to help maintain PCI compliance.

Restricting Access

The information on this page is intended for Adobe Commerce 2.3 customers who are on an extended support contract. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.
Magento Commerce only. Learn more.

Access to a private sale, event, or site can be limited to registered customers who log in, or extended to non-registered customers who must register before gaining access.

General configuration - website restrictions Website Restrictions

Set Up Exclusive Access

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand General and choose General underneath.

  3. Expand Expansion selector the Website Restrictions section and do the following:.

    • Set Access Restriction to Yes.

    • Set Restriction Mode to one of the following:

      • Private Sales:┬áLogin Only
      • Private Sales: Login and Register
    • Set Startup Page to one of the following:

      To login form (302 Found) Users are redirected to the login form before gaining access to the site.
      To landing page (302 Found) Users are redirected to the specified landing page until they log in.
      Important! Be sure to include a link to the login page from the landing page so customers can log in to access the site.
    • Choose the Landing Page that appears before customers log in to the private sale site.

    • To let search engine bots and spiders know that the landing page is correct and there are no other pages on the site to index, set HTTP Response to 200 OK.

    • If you want the fields in the customer login and forgot password forms to be filled automatically from previous entries, set Enable Autocomplete on login/forgot password forms to Yes.

  4. When complete, click Save Config.