Configure events

Adobe Commerce feature {width="20"} Exclusive feature only in Adobe Commerce (Learn more)

Before you can create an event, you must complete the basic configuration to enable events and set up the event block in the sidebar.

Enable and configure events

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

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

  3. Expand Expansion selector the Catalog Events section and do the following:

    Catalog configuration - catalog events {width="600" modal="regular"}

    • Set Enable Catalog Events Functionality to Yes.

    • Set Enable Catalog Event Widget on Storefront to Yes.

    • Enter the Number of Events to be Displayed in the Event Slider Sidebar Widget. By default, this value is set to 5. If you want to display only one event in the slider at a time, enter 1.

    • Enter the number of Events to Scroll per Click in Event Slider Sidebar Widget. By default, this value is set to 2. If you want the slider to display the next event in sequence when clicked, enter 1.

  4. When complete, click Save Config.

Access restrictions

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 {width="600" modal="regular"}

Restrict access

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 {width="600" modal="regular"}

  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.

  4. Set Access Restriction to Yes.

  5. Set Restriction Mode to one of the following:

    • Website Closed
    • Private Sales: Login Only
    • Private Sales: Login and Register
  6. 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.

      note important
      IMPORTANT
      Be sure to include a link to the login page from the landing page so customers can log in to access the site.
  7. Choose the Landing Page that appears before customers log in to the private sale site.

  8. 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.

    In all other cases set to 503 Service Unavailable.

    note note
    NOTE
    Applicable only if restriction mode is set to Website Closed. The landing page is rendered as raw HTML.
  9. 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.

  10. When complete, click Save Config.

Restrict sales

By default, products that appear in upcoming or closed events are not available for general sale and the Add to Cart button does not appear on the product list or product page.

To restore the Add to Cart button for a closed event, the event must be deleted (see Update events). However, if a product is associated with another category that has no selling restrictions, the button is available on the product page. Similarly, the ticker block does not appear on the product page if the product is associated with another category that has no selling restrictions.

recommendation-more-help
d5ef48ad-708f-4ce5-a225-e7bb6053ded5