v1.1.3

How to install the extension

How to install the extension using composer

  1. Back up your store's database and web directory.
  2. Log in to the SSH console on 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 to enable the extension.
    php -f bin/magento module:enable Mirasvit_Core Mirasvit_ProductKit
  5. Run the command to install the extension.
    php -f bin/magento setup:upgrade
  6. Run the command to clean the cache.
    php -f bin/magento cache:clean
  7. 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-ql

How to install the extension manually

  1. Back up your store's database and web directory.
  2. Download the archive from My Downloadable Products.
  3. Unzip the extension locally.
  4. Copy the unzipped folder to the root directory of the Magento store.
  5. Run the command to enable the extension.
    `php -f bin/magento module:enable Mirasvit_Core Mirasvit_ProductKit
  6. Run the command to install the extension.
    php -f bin/magento setup:upgrade
  7. Run the command to clean the cache.
    php -f bin/magento cache:clean
  8. 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

  1. Run the command to obtain the Product Kit Hyva component

    composer require mirasvit/module-product-kit-hyva:*
  2. Enable installed Hyva component:

    php -f bin/magento module:enable Hyva_MirasvitProductKit
  3. Update Magento database schema and data with the command:

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

    php -f bin/magento setup:di:compile
  5. 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
  6. Generate the styles for the installed extension:

    cd /path/to/theme/web/tailwind/;
    npm run build-prod
  7. 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
  8. Run the command below to clean the cache:
    php -f bin/magento cache:flush