How to enable Manual Account Approval in Magento 2
Magento

How to enable Manual Account Approval in Magento 2

If you have reached this article and are still wondering why one needs to enable manual account approval in their e-commerce store… Well the simplest answer is gaining additional control and preventing spam and abuse of your platform.

The feature is especially very essential for b2b businesses who can insure the legitimacy of the business buyer, or some businesses where you have private or limited membership, with this feature you can restrict unauthorised access to your website.

Manual approval is so useful for B2B and enterprise users that Magento has backed it into their Enterprise and Cloud platforms. In this article we will explore how you can implement this feature in Adobe Commerce and Adobe Commerce Cloud platform as well as Magento Open-Source Platform using custom modules or Magento extensions.

Enabling Manual Account Approval in Adobe Commerce / Magento Enterprise Edition

If your website is running on Adobe Commerce (fka. Magento Enterprise) 2.3+ or Cloud platform you can follow the following steps to enable Manual Account Approval
  1. Access Admin Panel: Log in to the Adobe Commerce Admin Panel,
  2. Navigate to Customer Settings: From the Admin sidebar, navigate to Customers > Customer Configuration.
  3. Enable Manual Approval: In the “Account Registration Options” section, locate the “Account Creation” setting. Change the selection from “Auto-registration” to “Manual approval.”
  4. Save Settings: Click the “Save” button to apply the changes.

Implement Manual Account Approval Feature in Magento 2 Community edition

If you are using the Magento 2 Community edition, The manual Account approval feature is not available to you out of the box as of version 2.4.6. However, since it is an open-source platform you can easily customize it to add this functionality. If you have technical knowledge in PHP and Magento 2 platform then you may create a simple module by following the below guidelines:
  1. Create a custom observer to listen for the customer_register_success event. This event is fired after a customer has successfully registered an account.
  2. In the observer, retrieve the newly created customer object and check if the account should be approved manually. You can do this by checking a custom attribute on the customer object, for example, is_manual_approval_required.
  3. If the account requires manual approval, send a notification to the administrator and set the customer’s status to inactive. This will prevent the customer from logging in until their account has been approved.
  4. Create an admin action to approve customer accounts. This action should allow the administrator to change the status of a customer’s account to active.
  If you are not familiar with Magento customization, we would recommend not to implement it in the production environment. You can also consult our certified Magento experts for this task. If you do not have an in-house development team or lack the technical knowledge, you can use a 3rd party extension to implement this feature on your Magento 2 Open-source (fka. Community Edition).

Extension for Manual Account Approval Compatible with Magento 2 Community Edition

Advanced Account Approval For Magento 2

Advanced account approval, a robust Magento 2 extension that adds manual account approval feature in a Magento 2 store. It has more features than what is available in Adobe Commerce (fka. Mangeo Enterprise). It is built and tested on the latest version of Magento 2 i.e. Magneto 2.4.6 p-2, and it is compatible with Magento Open-source as well as Adobe Commerce editions.

Main Features of The Extension

  • Easily Enable disable extension
  • Quickly update approval status from customer list page
  • Approve/Reject multiple users simultaneously
  • Custom Email Template for Approval/Rejection
  • Edit status message from admin panel
  • Custom Redirection

You can find out more about the extension from the extension page, or you can get it from the adobe extension marketplace.

Apart from Azguard’s Advanced Account Approval extension there are also similar options available from other publishers like MageAnts, Mageplaze, MageComp that you can check out, however this extension is more affordable, and is built on the newest version of Magento 2.

If you need any help with installation or customization in the above in Advanced Account Approval extension, you can submit your request using this link.

to customize, optimize, upgrade your Maento store