Installation
Installation via composer
- Back up your store's database and web directory.
- Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
- Copy the installation instructions from the page My Downloadable Products to the SSH console and press ENTER.
- Run the command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie
to enable the extension. - Run the command
php -f bin/magento setup:upgrade
to install the extension. - Run the command
php -f bin/magento cache:clean
to clean the cache. -
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
-
Run the commands:
composer require mirasvit/module-gdpr-hyva
-
Enable installed Hyva modules:
bin/magento module:enable Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie
-
Update Magento database schema and data with the command:
bin/magento setup:upgrade
-
Compile the code of the installed extension:
bin/magento setup:di:compile
- Run the command below to clean the cache:
bin/magento cache:flush