Introduction

This extension for Magento 2 forces customers to first login or create an account before seeing any products or CMS pages. There are 2 ways to access the web store when the forced login is enabled:


1) Login or Register: You can either login with an existing account or create a new account

2) Login only: You can only login and can't create a new account.




 


Compatibility

- This extension is compatible with the default Magento 2.0 Luma theme.

- This extension is compatible with Magento versions 2.0.x - 2.1.x





Installation

Download the extension package from your account and extract the downloaded archive.

Create the folder app/code/Ecomwise/ForcedLogin/ in your Magento root.

Copy the extracted content to the app/code/Ecomwise/ForcedLogin/ directory.

Positioned in the root Magento directory execute the following commands:


1. Install: php bin/magento setup:upgrade

2. Recompile (Optional): php bin/magento setup:di:compile

3. Reindex (Optional): php bin/magento indexer:reindex

4. Clear the Magento cache (Optional): php bin/magento cache:clean



 

Configuration 

Stores-> Configuration -> Ecomwise -> B2B Forced Login


1. Info & Support: An overview of the extension information such as version number, compatibility, documentation and support.


b2b-forcedlogin-2.0-info_support.jpg



2. Settings:

    Extension Enabled: Yes/No. 

    Access to Website: 

      - Via Login: If this option is chosen the access to the website will be possible only with the login form.

      - Via Login and Register: If this option is chosen the access to the website will be possible with the login  and also the register form.

 


 

b2b-forcedlogin-2.0.0-configuration.jpg



Frontend


If module configuration setting: "Via Login" is chosen on the Login page is displayed only the "Login form".

Otherwise, on the Login page is displayed the "Register new customer" form and "Login form" for already registered customers.


Customer Account Login page  - Via login option


b2b-forcedlogin-2.0-login-only-option.jpg




Customer Account Login page  - Via login and Register option


b2b-forcedlogin-2.0-login-_register-option.jpg




 




Uninstall

Automated ways are not available in this version.






Updates

 

2.0.0

24 October 2016

  • Stable module release.

 

 

 

 

 

 


 

Support

Please browse to our FAQ page for more details or contact http://support.b2b-extensions.com.