customerlogin/login-require

A Magento 2 module that require customer login

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

dev-master 2019-04-20 17:22 UTC

This package is auto-updated.

Last update: 2024-04-21 19:59:40 UTC


README

Require the customer have to logged before redirect to site

Installation

composer.phar require customerlogin/login-require:dev-master

After the installment of the module source code, the module has to be enabled by the Magento® 2 CLI.

bin/magento module:enable CustomerLogin_LoginRequire

System Upgrade

After enabling the module, the Magento® 2 system must be upgraded.

If the system mode is set to production, run the compile command first. This is not necessary for the developer mode.

bin/magento setup:di:compile

To upgrade the system, the upgrade command must be run.

bin/magento setup:upgrade

Clear Cache

bin/magento cache:clean

After installing and enabling Module, At Admin you must navigate to Stores > Configuration > Customer > Customer Configuration, where you are able to configure the availability of the module for website. The LoginRequire Module allows you to enable or disable the module itself on the level of websites, stores and store views.