How to install the extension
Installation via composer (preferably)
We recommend this installation method because the composer automatically checks and installs necessary dependencies.
- Back up your store's database and web directory.
- Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
-
Copy installation instructions from the page My Downloadable Products to SSH console and press ENTER.
- Run the command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Attachment
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
Installation via direct file upload
You can also install the extension via direct files uploading.
-
Go to My Downloadable Products / View & Download.
- Unpack .zip package and copy contents to magento root directory
- Log in to the SSH console of your server and navigate to the magento root directory.
- Run the command
composer require icomefromthenet/reverse-regex:0.0.6.*
for install required libraries. - Run the command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Attachment
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/;
Install the extension for Hyva
-
Run the command
composer require hyva-themes/magento2-mirasvit-attachment
-
Enable installed Hyva modules:
bin/magento module:enable Hyva_MirasvitAttachment
-
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