Coder Social home page Coder Social logo

sebastianwagner / magento2-customer-activation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enrico69/magento2-customer-activation

0.0 2.0 0.0 14 KB

This module is designed for Magento 2.x. It add the possibility for the site owner to manually validature customer accounts at registration.

License: MIT License

PHP 99.59% HTML 0.41%

magento2-customer-activation's Introduction

Magento 2 Customer Account Validation

Description

This module is designed to add the possibility for the site owner to manually validate customer accounts at registration.

Such feature could be required, for instance, in situation of B to B sales or private sales.

This module has been developed on a Magento 2.1.7 instance, but there is not apparent reason it wouldn't work on other releases.

  • Magento 2.1.6 and above: not tested
  • Magento 2.1.7 OK
  • Magento 2.2 RC: OK

Installation

You can manually download the archive and put it in app/code/Enrico69 or, the most simple way, install it via composer:

composer require enrico69/magento2-customer-activation

Whatever the way you choosed, then run the following command:

php magento cache:clean

Configuration

In the back-office, got to Store/Configuration. In the Customers tab, select Customer Configuration. In the bottom, set Customer account need to be activated by an admin user to true.

How does it work?

After the activation of the module and once you have set the configuration to require account activation by an admin user, the following process will be followed.

  • At the customer registration, the new customer will be logged-out and a message will notify it that its account is currently waiting for validation.
  • On the other side, the site owner will receive an email notifying it.
  • Until the account is confirmed by the admin, user which created an account AFTER the installation and the configuration of the module cannot connect.
  • To make an account active, the site owner has to go to the back office, edit the customer account an set this value to true: Account is active.

magento2-customer-activation's People

Contributors

ecourtial avatar sebastianwagner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.