Magento Open Source 2.2.x

Browser Capabilities Detection

As is true of most websites and applications on the Internet, Magento requires that the visitor’s browser allow both cookies and JavaScriptA scripting language used with HTML to produce dynamic effects and interactions on web pages. for full operations. However, occasionally a user’s browser is set to the highest privacy setting that prevents both cookies and JavaScript. Your store can be configured to test the capabilities of each visitor’s browser, and to display a notice if the settings need to be changed.

  • If the browser’s privacy settings disallow cookies, you can configure the system to automatically redirect them to the Enable Cookies page, which explains how to make the recommended settings with most browsers.
  • If the browser’s privacy settings disallow JavaScript, you can configure the system to display the following message above the header of every page:

For technical information, see Supported browsers in the developer documentation.

To configure browser capabilities detection:

On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.

In the panel on the left under General, choose Web.

Expand the Browser Capabilities Detection section, and do the following:

To display instructions that explain how to configure the browser to allow cookies, set Redirect to CMS-page if Cookies are Disabled to “Yes.”

To display a banner above the header when JavaScript is disabled in the user’s browser, set Show Notice if JavaScript is Disabled to “Yes.”


Browser Capabilities Detection

When complete, tap  Save Config .