Rodo - Magento 2 module documentation
Autor: Aurora Creation
Rodo Module
Module overview
The module allows you to add a checkbox with the GDPR information clause in the registration form and the contact form.
Module compatibility
This module is compatibile with Magento Community versions: 2.2, 2.3 i 2.4.
How it works
In order for the clause to be displayed correctly, you should add a block with content in the administration panel.
Module configuration
Head to the Admin Panel.
There, go to: Stores > Configuration and Aurora > RODO.
In the module configuration, we have the following options:
Enable on Contact page - show a block with a clause on the contact form page.
Contact RODO title - page title, that will be used on the contact page form.
Contact RODO statement - RODO statement, that will be used on the contact page form.
Enable on Register page - show the block with the clause on the registration form page.
Register RODO title - page title, that will be used on the registration form page.
Register RODO statement - RODO statement, that will be used on the registration form page.
After saving and refreshing the cache. The block with the checkbox and the clause will appear in the appropriate place.
Installation
Composer
- Add repo to composer.json:
...
{
"type": "vcs",
"url": "git@git.auroracreation.com:magento2/rodo.git"
}
...
],
- Add package to composer.json:
"require": {
...
"aurora/rodo": "~1.0"
...
},
- In Magento root folder run commands:
composer update aurora/rodo
php bin/magento module:enable Aurora_Rodo
php bin/magento setup:upgrade
Manual
- Unzip archive
- Upload extension files on your server to:
{Magento root}
└── app/
└── code
- In Magento root folder run commands:
php bin/magento module:enable Aurora_Rodo
php bin/magento setup:upgrade
Changelog
v2.0.3
- Update GitLab CI/CD.
- Code refactoring - coding standards, type hints.
v2.0.2
- Add fields for consent titles in the module configuration.
- Display the content and titles of consents in forms using view model.
v2.0.1
- Add textarea fields for the content of consents in the module configuration.
v1.0.2
- Add Gitlab CI/CD.
v1.0.1
- Module init.