GDPR

Magento 2 Extension — User Guide & Documentation

Magento 2.3.x / 2.4.xBy MagepowAdmin + Frontend
Vendor
Magepow Extensions
Online docs
docs.magepow.com

1 · Installation

Two ways to install — via Composer or by uploading the app folder. Both end with the same Magento CLI steps.

Before you begin: install the extension on a staging/test server first, and take a full backup of your files and database — especially on a live store.

System requirements

  • Magento 2.3.x / 2.4.x installed and working
  • PHP, MySQL/MariaDB and web server meeting Magento 2 system requirements
  • SSH access to run Magento CLI commands

Method 1 — Install via Composer (recommended)

  1. Open a terminal in your Magento 2 root directory and require the package:
    composer require magepow/gdpr
  2. Run the Magento setup upgrade:
    php bin/magento setup:upgrade
  3. Deploy static content (production mode):
    php bin/magento setup:static-content:deploy -f
  4. Flush the cache:
    php bin/magento cache:flush

Method 2 — Manual install (upload app folder)

  1. Download the extension package and unzip it. Upload the app folder to your Magento 2 root so it merges with the existing app directory.
  2. Run the following commands from the Magento 2 root:
    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
  3. Log out of the Admin panel and log back in to refresh access permissions, then clear the cache under System > Cache Management.
Tip: while configuring the store, disable full-page and additional PHP caches (Varnish, Redis, OPcache/APCu) so changes appear immediately. Re-enable them when you are done.

2 · Configuration & Usage

All settings live in the Magento Admin panel. Screenshots below match the default Admin theme.

1 - How to configure the extension

General Configuration

To Enable/DisableMagepow GDPR Extension: Go to Admin Panel > Stores > Settings > Configuration > Magepow > GDPR. Then, select Yes to Enable module/No to Disable the module

enable disable

2 - How does GDPR extension work?

After enabling the module, we will configure the GDPR module. InAdmin Panel > Stores > Settings > Configuration > Magepow > GDPR

backend config0

backend config1

  • Title: Name of the cookie restriction mode you want to setup
  • Content: Type any content you want to show for your cookie restriction mode
  • Privacy Policy Link : Select the link for cookie rule. To get the link, you go to Content->Page->URL Key and paste the text on URL Key part to the privacy policy link
  • backend cms

  • Button text : Get the name for the button
  • Button class : Using for customize css
  • More view : Type of displaying cookie restriction mode annoucement
  • More view text : Using for read more part
  • Width : You can set two types of with included full width and custom. If you set full width, there is no need to customize more. If you set custom width for the annoucement box, you must setup for other attrbutes below.
  • custom width

  • Margin bottom : This part is used for seting the distance from the annoucement box to the bottom of the website
  • Front size: Set text size for the box
  • Text align: Position for the annoucement box
  • Box shadow: Select Yes/No to enable/disable the shadow for the annoucement box
  • 2.2 Login Form

    backend config2

    • Show checkbox:Select Yes/No to enable/disable the checkbox for login form
    • Checkbox label: If you turn on the checkbox then you must type the content for checkbox label

    2.3 Register Form

    backend config3

    • Show checkbox:Select Yes/No to enable/disable the checkbox for register form
    • Checkbox label: If you turn on the checkbox then you must type the content for checkbox label

    2.4 Erase Account

    This part is used when you want to delete your account without config on admin. When you login on store front, go to My account->GDPR->Erase Account and Submit. When you finish your submission, the account will be erased from database and you will be redirected to login page

    erase account

    Results in frontend

    When you enable the GDPR extension, you will see result as shown below

    result

3 · Support

Found a bug or need customization? Contact us — we usually reply within 24–48 hours.

Need help?

Bug reports

If you find a bug, please report it via the ticket system with steps to reproduce, expected vs. actual behavior, and any relevant logs (var/log/system.log, var/log/exception.log).