About This File
This module allows users to independently delete their account from the customer dashboard, without administrator involvement.
This functionality complies with modern personal data protection requirements.
Key Features
- Adds a new "Account Deletion" section to the customer account.
- Requires confirmation (entering a keyword) to avoid accidental deletion.
- Upon confirmation, the module permanently deletes the customer and all related personal data from the database.
- Supports multi-store and is compatible with OpenCart 3.x.
- Added link to Account module
What is Deleted
When a customer deletes their account, the module removes all related data from the following tables:
- customer — main account information.
- customer_activity — activity history.
- customer_affiliate — affiliate data.
- customer_approval — account approval status.
- customer_history — account history.
- customer_reward — reward points.
- customer_transaction — transactions and balance.
- customer_ip — login IP addresses.
- address — all saved addresses.
If needed, you can extend the functionality by editing the model file.
Benefits
- Simple installation via the built-in extension installer.
- Increases customer trust.
- Helps meet legal and privacy requirements.
- Compatible with most OpenCart themes.
Distribution Terms
This modifier is provided "as is".
The author takes no responsibility for any consequences of its use.
It is strongly recommended to create a backup before installation.
Template Adaptation
The module comes with basic layout designed for the default OpenCart theme.
If you are using a third-party theme, template adaptation is a paid service.
The account deletion page is available at
https://yourdomain.com/index.php?route=account/delete
Replace yourdomain.com with your store’s domain.
