v2.3.5

Installation

On this page, you will find two possible ways to proceed with our extension's installation.

Please note these instructions are valid for Magento 2.4 only. To install the extension on a previous Magento version, please follow:

Installation via composer (preferably)

We recommend this installation method because the composer automatically checks and installs the necessary dependencies, and it is also much easier to keep the extension up-to-date.

  1. Back up your store's database and web directory.
  2. Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Copy the installation instructions from the My Downloadable Products / View & Download page to the SSH console.
    If you bought the extension in the Magento Marketplace, run the command in your store's root folder.
    composer require mirasvit/module-search-ultimate

  4. To enable the extension, run the commands:
    php -f bin/magento module:enable Mirasvit_Core Mirasvit_Search Mirasvit_SearchMysql Mirasvit_SearchElastic Mirasvit_SearchSphinx Mirasvit_SearchAutocomplete Mirasvit_Misspell Mirasvit_SearchLanding Mirasvit_Report Mirasvit_SearchReport
    php -f bin/magento setup:upgrade
  5. Clean the cache

    php -f bin/magento cache:clean
  6. Deploy static view files

    rm -rf pub/static/*     
    rm -rf var/view_preprocessed/*  
    php -f bin/magento setup:static-content:deploy  
  7. Reindex the search index and the spell-correction index
    php -f bin/magento indexer:reindex catalogsearch_fulltext mst_misspell

Installation via direct file upload

You can also install the extension via direct files uploading.

  1. Go to My Downloadable Products / View & Download. Download the extension package.
    If you bought the extension in the Magento Marketplace, you are not able to install the extension via a direct file upload. You need to do the installation via the composer, or contact the Mirasvit support team.
  2. Unpack .zip package and copy the contents to the Magento root directory
  3. Log in to the SSH console of your server and navigate to the Magento root directory.
  4. To enable the extension, run the commands:

    php -f bin/magento module:enable Mirasvit_Core Mirasvit_Search Mirasvit_SearchMysql Mirasvit_SearchElastic Mirasvit_SearchSphinx Mirasvit_SearchAutocomplete Mirasvit_Misspell Mirasvit_SearchLanding Mirasvit_Report Mirasvit_SearchReport Mirasvit_SearchGraphQl Mirasvit_SearchUltimate
    php -f bin/magento setup:upgrade
  5. Clean the cache

    php -f bin/magento cache:clean
  6. Deploy static view files

    rm -rf pub/static/*     
    rm -rf var/view_preprocessed/*  
    php -f bin/magento setup:static-content:deploy  
  7. Reindex search index and spell-correction index

    php -f bin/magento indexer:reindex catalogsearch_fulltext mst_misspell

Learn about the initial setup:

Install the extension for Hyva

  1. Run the command

    composer require mirasvit/module-search-ultimate-hyva
  2. Enable the installed Hyva modules:

    php -f bin/magento module:enable Hyva_MirasvitSearch Hyva_MirasvitSearchAutocomplete Hyva_SearchMisspell
  3. Update the 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 mirasvit/module-search-ultimate-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