StoreAccessRestriction (optional)

https://github.com/magesuite/store-access-restriction

The module adds the possibility to disable store view for all except whitelisted exceptions.

 

Installation

This module is optional.

composer require "creativestyle/magesuite-store-access-restriction" ^1.0.0

Admin settings

Admin settings are located in Stores -> All Stores -> Store View

After clicking on "Store View" an admin user can enable access restriction to it by toggling the option "Is Access Restricted" to "Yes" and then entering whitelisted IP addresses separated by commas.

Another way of accessing the restricted store view is to set the same value in Restriction Bypass Cookie Value as in the cookie named "STORE_RESTRICTION_BYPASS". This value can be also passed in the URL parameter named "bypass_store_restriction"

{{shop_url}}/de/?bypass_store_restriction=let_me_in

Backend

In progress

 

Frontend

There is no frontend functionality for this module.