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.
- 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 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
- 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
-
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
- 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.
- 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.
- Unpack .zip package and copy the contents to the Magento root directory
- Log in to the SSH console of your server and navigate to the Magento root directory.
-
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
-
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
-
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
-
Run the command
composer config repositories.hyva-themes/magento2-mirasvit-search-autocomplete git git@gitlab.hyva.io:hyva-themes/hyva-compat/magento2-mirasvit-search-autocomplete.git composer require hyva-themes/magento2-mirasvit-search-autocomplete
-
Enable the installed Hyva modules:
bin/magento module:enable Hyva_MirasvitSearchAutocomplete
-
Update the 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