v2.2.50

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
    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 config repositories.hyva-themes/magento2-mirasvit-search-autocomplete git [email protected]:hyva-themes/hyva-compat/magento2-mirasvit-search-autocomplete.git
        composer require hyva-themes/magento2-mirasvit-search-autocomplete
  2. Enable the installed Hyva modules:

        bin/magento module:enable Hyva_MirasvitSearchAutocomplete
  3. Update the Magento database schema and data with the command:

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

        bin/magento setup:di:compile
  5. Run the command below to clean the cache:
        bin/magento cache:flush