algolia / algoliasearch-magento-2

algolia/algoliasearch-magento-2

Algolia Search & Discovery extension for Magento 2

magento2-module QA: pending MIT
Viewing version 1.2.1-RC. Latest version is 3.18.0. Switch to latest

Algolia Search for Magento 2

Latest version
Magento 2
PHP >= 5.5.22
Build Status

  • Auto-completion menu: Offer End-Users immediate access to your whole catalog from the dropdown menu, whatever your number of categories or attributes.

  • Instant search results page: Have your search results page, navigation and pagination updated in realtime, after each keystroke.

Official website: community.algolia.com/magento.

Note: if your store is running under Magento version 1.x, please check our Algolia for Magento 1 extension.

Demo

Try the auto-complete and the instant search results page on our live demo.

Algolia Search

Algolia is a search engine API as a service capable of delivering realtime results from the first keystroke.

This extension replaces the default search of Magento with a typo-tolerant, fast & relevant search experience backed by Algolia. It's based on algoliasearch-client-php, autocomplete.js and instantsearch.js.

Documentation

Check out the Algolia Search for Magento 2 documentation.

Installation

The easiest way to install the extension is to use Composer and follow our getting started guide.

Run the following commands:

  • $ composer require algolia/algoliasearch-magento-2
  • $ bin/magento module:enable Algolia_AlgoliaSearch
  • $ bin/magento setup:upgrade && bin/magento setup:static-content:deploy

CHANGELOG

1.2.0

FEATURES

  • Analytics - the extension now uses Magento's GA to measure searches (#253)
  • Option to send an extra Algolia settings to Algolia indices (#245)
  • The configuration page now displays information about the indexing queue and gives possibility to clear the queue (#262)
  • In attribute select boxes (sorts, facets, ranking, ...) is now possible to choose from all attributes and not just those set as "attribute to indexing" (#257)
  • Option to disable synonyms management in Magento (#260)
    • By default it's turned off - if you're using synonyms management in Magento, please turn it on after the upgrade
  • Extension back-end events are now more granular (#266)

UPDATES

  • All CSS selectors were prefixed with Algolia containers and unused styles were removed (#246)
    • BC break - please check the look & feel of your results
  • Algolia settings are now pushed to Algolia after the save of extra settings configuration page (#258)
  • Added titles to configuration sections (#259)
  • BC Break - Unused "deleteIndices" method were removed (#263)

FIXES

  • Fix the issue with Algolia error when more than 1000 products are supposed to be deleted (#249)
  • Fixed the thumbnail URL when using /pub/ directory as the root directory (#247)
  • Fix the issue when backend was still enabled even though it was set as disabled in configuration (#256)
  • Fix the issue when indexing was disabled, but the extension still performed some indexing operations (#261)
  • Fix category fetching on Magento EE (#265)
  • Fix the back button on category pages to not return all products from the store (#267)
  • CMS pages are no longer index when the "Pages" section is removed from Addition sections (#271)

1.1.0

  • Fixed products prices - now all prices (currencies, promos, ...) are correctly indexed (#233)
  • Optimized the number of delete queries (#209)
  • Image URLs are indexed without protocol (#211)
  • Queue processing is now optimized and process always the right number of jobs (#208)
  • Fixed the autocomplete menu on mobile (#215, #222)
  • Fixed the replica creation with customers' groups enabled (#217)
  • Fixed broken reference on Magento_Theme (#224)
  • Fix for overloaded queued jobs (#229, #228)
  • Fixed encoding of CMS pages (#227)
  • Fixed image URLs with double slashes (#234)
  • Fixed attributesToRetrieve to contain category attributes (#235)

BC Breaks

  • Refactored configuration.phtml - all the logic moved to Block class (#238)
  • Optimized CSS and assets - removed couple of images and CSS classes (#236)
  • JS hooks - instantsearch.js file was completely refactored to create IS config object which can be manipulated via hook method (#240)

1.0.10

  • Fix IS on replaced category page (#202)

1.0.9

  • algoliaBundle is now loaded only via requireJS (#171)
  • Fixed warning raised by nested emulation (#175)
  • Fixed indexing of secured URLs (#174)
  • Fixed the issue when some products were not indexed due to bad SQL query (#181)
  • categories attribute is automatically set as an attribute for faceting when Replace categories is turned on (#184)
  • Fixed set settings on TMP indices (#186)
  • Settings now sends searchableAttributes instead of attributesToIndex (#187)
  • Fixed IS page when using pagination and refreshing the page (#195)
  • Fixed filters and pagination on category pages (#200)

1.0.8

  • Fixed the requireJS issue introduced in 1.0.6, which ended up in administration's JavaScript not working (#168, #169)

1.0.6

  • Fixed indexing of out-of-stock products (#142)
  • Fixed CSS for showing products's ratings on instant search page (#143)
  • The category refinement is now displayed in Current filters section and it's easy to remove on replaced category page (#144)
  • Fixed indexing of prices with applied price rules (#145, #160)
  • Formatted default original price attribute is now retrieved from Algolia by default (#151)
  • Fixed showing of "Add to cart" button (#152)
  • Exception is not thrown anymore from Algolia indexers when Algolia credentials are not filled in (#155)
    • Fixes the installation abortion when the extension was installed before Magento's installation
  • Fixed the layout handle to load templates correctly to Ultimo theme (#156)
  • Fixed admin JavaScript to load correctly and not conflict with other pages (#159, #162)
  • script and style tags are now completely (with it's content) removed from CMS pages' indexed content (#163)
  • New version of instantsearch.js and autocomplete.js libraries (#165)

1.0.5

  • Official support of Magento >= 2.1 (#117)
  • Fixed method signature for delete objects in Algolia (#120)
  • Show all configuration options in website and store views (#133)
  • Option "Make SEO Request" is enabled by default now (#134)
  • CMS pages are now indexed correctly for specific stores (#135)
  • Product's custom data now contains it's type in algolia_subproducs_index event (#136)
  • Replica indices are now not created when Instant Search feature is not enabled (#137)
  • New Algolia logo is used in autocomplete menu (#138)
  • The extension now sends replicas index setting instead of slaves (#139)
  • Products are now indexed correctly into all assigned stores (#140)

1.0.4

  • Fixed User-Agent from Magento 1 to Magento 2 (#92)
  • Fixed additional sections' links in autocomplete menu (#93)
  • All searchable attributes are set as Unordered by default (#94)
  • Fixed configHelper to use ProductMetadataInterface to get the correct dependecy (#97)
  • Fixed indexing of categories when option "Show categories that are not included in the navigation menu" weren't taken into account (#100)
  • Fixed backend Algolia adapter to correctly respect "Make SEO request" configuration (#101)
  • Fixed images config paths (#104)
  • Added specific HTML classes to refinement widget containers (#105)
  • Fixed the issue when queue runner didn't process any job after specific settings changed. Now it process always at least one job (#106)
  • Fixed the functionality of "Add To Cart" button (#107)
  • Attribute in_stock is now exposed in Algolia configuration and can be used for custom ranking or sorting (#109)
  • Add algolia_get_retrievable_attributes custom event to getRetrievableAttributes method to allow developers set custom retrievable attributes for generated API keys (#112)
  • Fixed queue issue when store_id parameter was not passed to deleteObjects categories' operation (#113)

1.0.3

  • Fixed issue with indexing content on Magento 2.1 EE and higher (#87)
  • Fixed page indexing to index pages only from active stores (#82)

1.0.2

1.0.1

  • Fixed issue with merging JS files - added new line at the end of algoliaBundle.min.js
  • Fixed page indexing when some excluded pages were set
  • Fixed data types of enabled variables in algoliaConfig
  • Fixed few typos

1.0.0

  • Release

0.9.1

  • Remove debug: true from autocomplete menu

0.9.0

  • Optimized front-end (#54) - BC break!
    • Only necessary JS configuration is now rendered into HTML code, all other JS code is now loaded in within JS files
    • Templates were re-organized to make it's structure more readable
    • Layout's XML files were rewritten and optimized
    • Extension's assets were removed and replaced by SVGs
  • Fixed CSS of autocomplete menu's footer (#55, #58)
  • Instantsearch.js library was updated to it's latest version (#56)
  • The extension officially supports only 2.0.X versions of Magento, however it's still possible and encouraged to use it on 2.1.0 (#53)
  • Fixed some annotations in code (#52, #51)

0.8.4

  • Always index categories' attribute include_in_menu
  • Follow Magento 2 coding styles

0.8.3

  • Add license information to composer.json

0.8.2

  • Fix fatal error thrown on Algolia search Adapter on version ~2.0.0
  • Fix version in composer.json

0.8.1

  • Fix fatal error thrown when "Make SEO request" was turned on
  • Follow the new Algolia's UA convention

0.8.0

Initial stable release

Versions
Version Stability QA Status Released
3.17.4 stable Not tested 2026-06-09 08:02:00
3.18.0 stable Fail 2026-05-20 14:02:17
3.18.0-rc1 RC Not tested 2026-04-29 13:19:02
3.17.3 stable Not tested 2026-03-06 16:52:49
3.17.3-rc1 RC Not tested 2026-03-02 14:45:05
3.16.3 stable Not tested 2026-03-02 09:41:25
3.18.0-beta.1 beta Not tested 2026-02-23 15:50:31
3.17.2 stable Not tested 2026-01-14 20:56:01
3.16.2 stable Not tested 2026-01-14 20:55:24
3.17.1 stable Not tested 2025-12-11 13:55:39
3.17.1-rc1 RC Not tested 2025-12-10 08:55:13
3.17.0 stable Not tested 2025-12-02 15:15:32
3.17.0-rc1 RC Not tested 2025-11-19 14:49:11
3.17.0-beta.2 beta Not tested 2025-10-08 15:18:05
3.16.1 stable Not tested 2025-10-02 11:32:27
3.15.3 stable Not tested 2025-10-01 15:26:06
3.16.1-rc1 RC Not tested 2025-10-01 12:07:29
3.15.2 stable Not tested 2025-09-30 14:47:56
3.17.0-beta.1 beta Not tested 2025-09-04 13:55:09
3.16.0 stable Not tested 2025-08-25 16:59:22
3.16.0-rc2 RC Not tested 2025-08-06 14:57:04
3.16.0-beta.2 beta Not tested 2025-07-31 19:43:42
3.16.0-rc1 RC Not tested 2025-07-29 14:21:30
3.15.1 stable Not tested 2025-05-28 08:32:59
3.14.5 stable Not tested 2025-05-07 13:50:34
3.15.1-rc1 RC Not tested 2025-05-07 12:49:18
3.16.0-beta.1 beta Not tested 2025-05-01 02:40:20
3.15.0 stable Not tested 2025-04-09 15:30:20
3.15.0-rc2 RC Not tested 2025-03-31 15:24:29
3.15.0-rc1 RC Not tested 2025-03-10 14:37:35
3.15.0-beta.2 beta Not tested 2025-02-03 14:39:38
3.13.8 stable Not tested 2025-01-17 16:01:44
3.13.7 stable Not tested 2025-01-15 16:16:19
3.14.4 stable Not tested 2025-01-15 10:45:44
3.14.4-rc1 RC Not tested 2025-01-13 14:33:35
3.15.0-beta.1 beta Not tested 2024-11-15 10:39:59
3.14.3 stable Not tested 2024-11-13 16:18:22
3.14.3-rc1 RC Not tested 2024-10-31 13:03:36
3.13.6 stable Not tested 2024-10-30 15:28:02
3.14.2 stable Not tested 2024-09-09 21:33:30
3.14.2-rc1 RC Not tested 2024-09-03 18:45:04
3.14.1 stable Not tested 2024-08-30 18:51:29
3.14.1-rc3 RC Not tested 2024-08-30 18:25:20
3.14.1-rc2 RC Not tested 2024-08-22 18:51:30
3.14.1-rc1 RC Not tested 2024-08-22 15:51:04
3.14.0-rc3 RC Not tested 2024-08-05 17:39:22
3.14.0-rc2 RC Not tested 2024-08-02 20:44:39
3.14.0 stable Not tested 2024-08-02 20:36:20
3.14.0-rc1 RC Not tested 2024-08-01 18:55:59
3.14.0-beta.2 beta Not tested 2024-07-16 15:12:25
3.13.5 stable Not tested 2024-07-12 12:36:20
3.13.5-rc1 RC Not tested 2024-07-11 13:54:42
3.13.4 stable Not tested 2024-06-25 18:28:34
3.13.4-rc1 RC Not tested 2024-06-25 15:19:58
3.13.3 stable Not tested 2024-05-29 23:43:28
3.13.3-rc1 RC Not tested 2024-05-29 15:32:19
3.14.0-beta.1 beta Not tested 2024-04-30 18:49:50
3.13.2 stable Not tested 2024-02-22 04:21:59
3.13.1 stable Not tested 2024-02-02 09:17:54
3.13.0 stable Not tested 2024-01-27 02:22:50
3.12.1 stable Not tested 2024-01-10 09:03:28
3.12.0 stable Not tested 2023-12-12 13:40:50
3.11.1-beta beta Not tested 2023-10-16 14:56:59
3.11.0 stable Not tested 2023-10-13 12:03:45
3.10.6 stable Not tested 2023-08-21 14:49:48
3.11.0-beta beta Not tested 2023-08-04 11:14:11
3.10.5 stable Not tested 2023-07-27 16:03:37
3.10.4 stable Not tested 2023-06-07 06:21:16
3.10.3 stable Not tested 2023-05-23 07:44:56
3.7.0-p2 stable Not tested 2023-04-10 16:11:05
3.10.2 stable Not tested 2023-04-05 04:49:56
3.10.1 stable Not tested 2023-03-08 05:06:42
3.10.0 stable Not tested 2023-02-01 10:43:38
3.7.0-p1 stable Not tested 2023-01-23 15:54:58
3.9.1 stable Fail 2022-11-30 17:20:45
3.9.0 stable Not tested 2022-10-28 10:44:07
3.8.1 stable Not tested 2022-09-02 17:56:02
3.8.0 stable Not tested 2022-08-18 19:59:37
3.7.0 stable Not tested 2022-06-29 11:46:54
3.6.1 stable Not tested 2022-06-08 09:05:27
3.6.0 stable Not tested 2022-05-27 08:41:21
3.4.0 stable Not tested 2022-05-19 10:27:03
3.3.1 stable Not tested 2022-05-19 09:34:16
3.3.0 stable Not tested 2022-05-02 17:37:21
3.2.0 stable Not tested 2021-10-21 13:18:11
3.1.0 stable Not tested 2021-02-24 13:57:08
2.0.4 stable Not tested 2020-12-16 15:19:53
3.0.2 stable Not tested 2020-11-26 15:54:12
3.0.1 stable Not tested 2020-10-15 13:09:26
3.0.0 stable Not tested 2020-10-01 12:09:38
2.0.3 stable Not tested 2020-09-29 13:11:59
1.13.3 stable Not tested 2020-09-29 11:32:04
2.0.2 stable Not tested 2020-07-23 13:56:59
2.0.1 stable Not tested 2020-06-25 14:37:57
1.13.2 stable Not tested 2020-06-25 14:36:19
2.0.0 stable Not tested 2020-04-16 15:55:41
1.13.1 stable Not tested 2020-04-15 15:24:24
1.13.0 stable Not tested 2020-02-05 09:52:43
1.12.1 stable Not tested 2019-10-30 16:01:31
1.12.0 stable Not tested 2019-10-04 08:29:08
1.11.3 stable Not tested 2019-07-04 11:05:06
1.11.2 stable Not tested 2019-06-17 14:31:48
1.11.1 stable Not tested 2019-05-27 08:39:24
1.11.0 stable Not tested 2019-05-07 11:39:07
1.10.0 stable Not tested 2019-02-20 10:51:49
1.8.5 stable Not tested 2019-01-24 11:22:13
1.9.1 stable Not tested 2019-01-15 13:57:34
1.9.0 stable Not tested 2018-12-18 13:51:32
1.8.4 stable Not tested 2018-11-28 16:17:08
1.8.3 stable Not tested 2018-10-31 13:29:32
1.8.2 stable Not tested 2018-09-27 14:41:23
1.8.1 stable Not tested 2018-09-20 11:53:14
1.8.0 stable Not tested 2018-09-18 10:54:14
1.7.2 stable Not tested 2018-08-09 12:59:05
1.7.1 stable Not tested 2018-07-23 14:17:59
1.7.0 stable Not tested 2018-06-05 08:44:42
1.6.0 stable Not tested 2018-02-27 14:13:18
1.5.0 stable Not tested 2018-01-21 12:49:57
1.4.0 stable Not tested 2017-11-23 16:59:36
1.3.0 stable Not tested 2017-10-24 12:02:39
1.2.1 stable Not tested 2017-08-11 19:01:16
1.2.1-RC RC Not tested 2017-08-09 23:55:53
1.2.0 stable Not tested 2017-07-11 11:44:20
1.1.0 stable Not tested 2017-05-22 09:24:34
1.0.10 stable Not tested 2017-04-03 19:15:35
1.0.9 stable Not tested 2017-04-03 14:32:22
1.0.8 stable Not tested 2017-03-06 15:19:11
1.0.7 stable Not tested 2017-03-06 13:23:59
1.0.6 stable Not tested 2017-03-02 09:36:05
1.0.5 stable Not tested 2017-01-07 01:01:38
1.0.4 stable Not tested 2016-11-22 13:19:47
1.0.4-RC RC Not tested 2016-11-18 10:46:45
1.0.3 stable Not tested 2016-10-24 15:33:34
1.0.2 stable Not tested 2016-10-18 12:48:33
1.0.1 stable Not tested 2016-09-09 16:07:32
1.0.0 stable Not tested 2016-08-23 08:32:40
0.9.1 stable Not tested 2016-08-22 08:12:46
0.9.0 stable Not tested 2016-08-18 15:40:48
0.8.4 stable Not tested 2016-08-12 15:45:27
0.8.3 stable Not tested 2016-08-12 09:09:55
0.8.2 stable Not tested 2016-08-11 09:39:50
0.8.1 stable Not tested 2016-08-08 14:25:35
0.8.0 stable Not tested 2016-08-01 17:12:45

Requires 8

Package Constraint
php ~8.2|~8.3|~8.4
magento/framework ~103.0
algolia/algoliasearch-client-php 4.18.3
guzzlehttp/guzzle ^6.3.3|^7.3.0
ext-json *
ext-PDO *
ext-mbstring *
ext-dom *

Requires-dev 2

Package Constraint
phpcompatibility/php-compatibility ^9.2
phpunit/phpunit ^9.5|^10.5

No QA results yet

QA pipelines haven't run for this version. Status appears here once the vendor publishes a tagged release that gets ingested.

License
MIT
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.