Delete My Account - Magento 2 module documentation

Author: Marek Milewski

Delete My Account Module

Module overview

Let your customers have a full control over their account. Delete My Account module lets them delete account without any supervision from your worker.

Module compatibility

This module is compatibile with Magento Community versions: 2.2 and 2.3.

How it works

Once installed, you immediately gain access to module features. There are not any settings to be made in an admin panel. To delete account, user should log in and head to the account settings.

Image 2

Account Delete will be located in the navigation tab. Clicking on a button redirects user to the delete account page.

Image 9

Delete My Account button will not delete account immediately, user will be prompt with a confirmation message. Afterwards customer will be alerted, whether the confirmation email was sent.

Image 10

Image 4

To finalise deleting, user should go to their email inbox. Delete confirmation email looks like presented below. After clicking on delete My Account, account will be deleted.

Image 8

Installation

Composer

  1. Add repo to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:aurora-modules/Deleteaccount.git"
    }
    ...
],
  1. Add package to composer.json:
"require": {
    ...
    "aurora/deleteaccount": "*"
    ...
},
  1. In Magento root folder run commands:
composer update aurora/deleteaccount
php bin/magento module:enable Aurora_Deleteaccount
php bin/magento setup:upgrade

Manual

  1. Unzip archive.
  2. Upload extension files on your server to:
{Magento root}
└── app/
    └── code
  1. In Magento root folder run commands:
php bin/magento module:enable Aurora_Deleteaccount
php bin/magento setup:upgrade

Thank you for your interest in our products!