How to install the extension
How to install the extension using composer
- Back up your store's database and web directory.
- Log in to the SSH console on 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 to enable the extension.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_ProductKit
- Run the command to install the extension.
php -f bin/magento setup:upgrade
- Run the command to clean the cache.
php -f bin/magento cache:clean
- Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
Note
As for Magento 2.3* the GraphQl module can be also installed. The command is composer require mirasvit/module-product-kit-graph-qlHow to install the extension manually
- Back up your store's database and web directory.
- Download the archive from My Downloadable Products.
- Unzip the extension locally.
- Copy the unzipped folder to the root directory of the Magento store.
- Run the command to enable the extension.
`php -f bin/magento module:enable Mirasvit_Core Mirasvit_ProductKit
- Run the command to install the extension.
php -f bin/magento setup:upgrade
- Run the command to clean the cache.
php -f bin/magento cache:clean
- Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
How to install the extension for Hyva
-
Run the command to obtain the Product Kit Hyva component
composer require mirasvit/module-product-kit-hyva:*
-
Enable installed Hyva component:
php -f bin/magento module:enable Hyva_MirasvitProductKit
-
Update Magento database schema and data with the command:
php -f bin/magento setup:upgrade
-
Compile the code of the installed extension:
php -f bin/magento setup:di:compile
-
Check the file app/etc/hyva-themes.json. If there are no entries for the package mirasvit/module-product-kit-hyva package - run the following command
php -f bin/magento hyva:config:generate
-
Generate the styles for the installed extension:
cd /path/to/theme/web/tailwind/; npm run build-prod
-
Deploy the static view files
cd /path/to/project/
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
- Run the command below to clean the cache:
php -f bin/magento cache:flush