Getting Started

Welcome to the GDPR extension documentation.

The GDPR extension allows to comply common GDPR regulations:

  • Data protection policy consents
  • Ability to download user data
  • Ability to anonymize user data
  • Ability to erase user data

Go ahead, dive in!

Firstly, please, find our extension in My Downloadable Products section of our store.

Learn how to install extension, and proceed with Configuration, which will guide you to setup all things.

Installation

Installation via composer

  1. Back up your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Copy the installation instructions from the page My Downloadable Products to the SSH console and press ENTER.
  4. Run the command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie to enable the extension.
  5. Run the command php -f bin/magento setup:upgrade to install the extension.
  6. Run the command php -f bin/magento cache:clean to clean the cache.
  7. Deploy static view files

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy

If the extension was installed by directly uploading files, you must also run the command composer require geoip2/geoip2:~2.0 to install the required libraries.

Install the extension for Hyva

  1. Run the commands:

        composer require mirasvit/module-gdpr-hyva
  2. Enable installed Hyva modules:

        bin/magento module:enable Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie
  3. Update Magento database schema and data with the command:

        bin/magento setup:upgrade
  4. Compile the code of the installed extension:

        bin/magento setup:di:compile
  5. Run the command below to clean the cache:
        bin/magento cache:flush

Quick Start

Our GDPR extension is a simple yet powerful extension for building and setting common GDPR regulations. Most of its functions work out-of-box, but for full productivity, there's a number of settings that can be tuned up.

  1. Start with enabling GDPR
  2. Then manage your customer's data

Configuration settings

Settings, that allow to tune-up GDPR extension are located at Stores -> Configuration -> Mirasvit Extensions -> GDPR, and breaks into the following sections:

General Settings

Option Description
Enabled If the option is disabled, all extension features are hidden from the frontend interface.
Option Description
Enabled If enabled, for each new visitor extension will show cookie bar, with cookie agreements
Policy Text Cookie bar policy text with a link to the list of cookies
Option Description
Registration Form Enables consent checkbox on the Registration Form
Subscription Form Enables consent checkbox on the Subscription Form
Contact Us Form Enables consent checkbox on the Contact Us Form
Checkout Form Enables consent checkbox on the Checkout Form
Checkbox text Unified consent checkbox text

Personal Account Options

Option Description
Download Personal Data Enables the ability to download personal data (user info, address information, orders information) on the account page
Anonymize Personal Data Enables ability to anonymize personal data (replaces real Firstname, Lastname, Email, Date of births with anonymized text)
Remove Personal Data and Account Enables the ability to request personal data removal. After receiving the request, the administrator can accept or reject it at the Customer's Requests

Customers' Requests

Customers who requested to Remove Personal Data and Account displayed here. It is located at main Magento menu Customers -> Customers' Requests.
This section allows administrators to manage them. There are possible to Deny or Approve a request. Once the administrator made a choice, there is no option to revert it.

The grid allows sorting by Date, Customer, Request type, Status, Action, and ID.

customers_requests

Customers' Consents

The list of consents located at main Magento menu Customers -> Customers' Consents.
The grid allows tracking of consents by Date, Customer, Consent type, Status, Action, and ID. This data can be useful for different consents analysis.

How to upgrade extension

To upgrade the extension, follow these steps:

  1. Back up your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Run the command composer require mirasvit/module-gdpr:* --update-with-dependencies to update the current extension with all dependencies.

    Note

    If you have the Hyva theme, run:

               composer require mirasvit/module-gdpr:* mirasvit/module-gdpr-hyva:* --update-with-dependencies

    Note

    Note

    If you have the hyva-themes/magento2-mirasvit-gdpr package then remove it, run:

               composer remove hyva-themes/magento2-mirasvit-gdpr

    Note

    In some cases, the command above is not applicable, or it's not possible to update just the current module, or you need to upgrade all the Mirasvit modules in a bundle. In this case, the above command will not work.

    Run instead composer update mirasvit/* command. It will update all the Mirasvit modules installed in your store.

  4. Run the command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie to re-enable extension.

    Note

    If you have the Hyva theme, run:

                php -f bin/magento module:enable -f Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie

  5. Run the command php -f bin/magento setup:upgrade to install the updates.
  6. Run the command php -f bin/magento cache:clean to clean the cache.
  7. Deploy static view files

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy

Disabling the Extension

Temporarily Disable

To temporarily disable the extension, please follow these steps:

  1. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  2. Run command php -f bin/magento module:disable Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie to disable the extension.

    Note

    If you have the Hyva theme, run:

                    php -f bin/magento module:disable -f Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie

  3. Log in to the Magento backend and refresh the store cache (if enabled).

Extension Removal

To uninstall the extension, please follow these steps:

  1. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  2. Run command composer remove mirasvit/module-gdpr to remove the extension.

    Note

    If you have the Hyva theme, run:

            composer remove mirasvit/module-gdpr mirasvit/module-gdpr-hyva

  3. Log in to the Magento backend and refresh the store cache (if enabled).

1.3.10

(2024-04-24)

Fixed

  • Error “Argument [#1]() must be of string type” when requesting deletion or anonymization.
  • Added mobile styles for customer account dashboard

1.3.9

(2024-04-02)

Improvements

  • Added settings to show dashboard link in customer account

Fixed

  • Date format according locale on My Consent Choices page

1.3.8

(2024-04-01)

Improvements

  • Consent checkbox style in subscription form

1.3.7

(2024-03-21)

Fixed

  • Issue with address anonymization

1.3.6

(2024-03-20)

Improvements

  • Ability to select order status for anonymization

1.3.5

(2024-03-07)

Improvements

  • Hyva compatibility updated

1.3.4

(2024-03-05)

Improvements

  • Added Privacy Dashboard to the customer account on the frontend

1.3.3

(2024-03-05)

Fixed

  • Set consent denied until the user has made a choice

1.3.2

(2024-03-01)

Improvements

  • Compatibility Google Consent v2 template with code snippet placed to default Magento theme's HTML Head

1.3.1

(2024-02-29)

Features

  • The guest can change his consent

1.3.0

(2024-02-28)

Features

  • Support Google consent mode

Improvements

  • Ability hide cookie bar
  • Added translations for the cookie description on the frontend

1.2.17

(2024-02-02)

Features

  • Anonymizing old order data

Fixed

  • Anonymization of orders when deleting an account

1.2.16

(2023-12-22)

Fixed

  • Check authentication

1.2.15

(2023-10-24)

Improvements

  • Removed unused settings

1.2.14

(2023-09-18)

Fixed

  • "I agree to the Privacy Policy" checkbox in the subscription form with the Hyva theme

1.2.13

(2023-09-05)

Fixed

  • Issue with deleting cookies in all stores

1.2.12

(2023-05-25)

Improvements

  • Mass actions in Customers' Requests

Fixed

  • Compatible with Magento 2.4.4

1.2.11

(2023-04-26)

Fixed

  • Issue with deleting some cookies

1.2.10

(2023-02-22)

Fixed

  • Conflict with Affiliate module menu

1.2.9

(2023-02-16)

Improvements

  • Changed CSS classes to avoid conflict with some themes

1.2.8

(2023-02-01)

Fixed

  • Style for small screen devices

1.2.7

(2023-01-19)

Fixed

  • Cookie selection on mobile devices

1.2.6

(2023-01-16)

Improvements

  • Removed transparency of Cookie Bar

1.2.5

(2022-09-01)

Improvements

  • Agree All button

1.2.4

(2022-07-06)

Fixed

  • Issue with saving the value of Store Views when changing Cookie.

1.2.3

(2022-06-20)

Improvements

  • remove db_schema_whitelist.json

Fixed

  • Added comment for Social Login registration

1.2.2

(2022-06-10)

Fixed

  • Compatibility with php8.1

1.2.1

(2022-06-09)

Fixed

  • Issue with removing customer account

1.2.0

(2022-05-23)

Improvements

  • Migrate to declarative schema

1.1.25

(2022-05-18)

Fixed

  • Cookie Settings style for small devices
  • Configuration for multistore

1.1.24

(2022-05-09)

Fixed

  • Reverted adding _ga to Google Analytics group

1.1.23

(2022-05-04)

Fixed

  • Hide the Privacy Settings link if all Personal Data Protection options are disabled

1.1.22

(2022-04-18)

Improvements

  • Added Allow for all countries setting

1.1.21

(2022-03-25)

Features

  • Ability to disable Decline Button

1.1.20

(2022-03-25)

Fixed

  • Cookie Bar style on mobile devices
  • Compatibility with Magento 2.2.4 and below

1.1.19

(2022-02-01)

Features

  • Privacy settings page

Improvements

  • More information about cookies
  • Style cookie settings

1.1.18

(2022-01-31)

Improvements

  • More information about cookies
  • Style cookie settings

1.1.17

(2022-01-21)

Features

  • Display CookieBar for specific countries

1.1.16

(2022-01-06)

Improvements

  • Decline button

1.1.15

(2021-12-29)

Improvements

  • WCAG

1.1.14

(2021-12-07)

Fixed

  • Icon style

1.1.13

(2021-11-24)

Improvements

  • WCAG

1.1.12

(2021-11-19)

Improvements

  • Configuration optional groups of cookies

Fixed

  • Issue with checkbox validation on checkout page

1.1.11

(2021-09-08)

Fixed

  • Remove GA cookie

1.1.10

(2021-09-06)

Fixed

  • Issue with unavailable cookie settings when Lock Screen is on

1.1.9

(2021-08-03)

Fixed

  • Compatibility with third party extensions that change the layout of the checkout page

1.1.8

(2021-07-12)

Fixed

  • Issue with checkout consent checkbox if there are multiple payment systems.

1.1.7

(2021-06-24)

Fixed

  • Issue when used with Magento Terms and Conditions on the checkout page

1.1.6

(2021-06-15)

Improvements

  • The "Form consent checkbox" parameter settings separately for each store view.

1.1.5

(2021-06-02)

Improvements

  • Display allowed cookie groups in Customers Consents list
  • Added translations

1.1.4

(2021-05-26)

Fixed

  • Cookie modal title

1.1.3

(2021-05-25)

Fixed

  • Menu

1.1.2

(2021-05-25)

Fixed

  • Removed unused Cookie Consent link
  • Cookie text

1.1.1

(2021-04-21)

Fixed

  • Create removal requests

1.1.0

(2020-12-15)

Fixed

  • Issue with cookie groups

1.0.10

(2020-10-28)

Fixed

  • Incorrect action name for GDPR Consent

1.0.9

(2020-10-26)

Fixed

  • ACL Issue (Invisible GDPR -> Consent menu with users without admin permissions)

1.0.8

(2020-10-02)

Fixed

  • Translations for name and description of the cookie group
  • Issue when "Agree" button does not work

1.0.7

(2020-09-11)

Improvements

  • Small spelling fixes

1.0.6

(2020-08-21)

Improvements

  • Support of Magento 2.4
  • Cookie bar with ability to manage cookie groups

1.0.5

(2020-05-22)

Features

  • Admin notification about pending requests

1.0.4

(2020-04-06)

Fixed

  • Issue with CSS (responsive cookie bar)

1.0.3

(2020-03-11)

Fixed

  • Minor fixes

1.0.2

(2020-02-25)

Improvements

  • Minor improvements

1.0.0

(2020-02-19)

Improvements

  • Initial release