algolia / algoliasearch-magento-2
Algolia Search & Discovery extension for Magento 2
Installs: 1 455 200
Dependents: 13
Suggesters: 0
Security: 0
Stars: 173
Watchers: 80
Forks: 165
Type:magento2-module
Requires
- php: ~8.1|~8.2|~8.3
- ext-dom: *
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- algolia/algoliasearch-client-php: ^4.0
- guzzlehttp/guzzle: ^6.3.3|^7.3.0
- magento/framework: ~103.0
Requires (Dev)
Suggests
- algolia/algoliasearch-inventory-magento-2: Algolia Search Inventory module for Magento 2.3.x,2.4.x and Algolia Search 1.12+ extension
- dev-main
- dev-develop
- 3.15.0-beta.1
- 3.14.3
- 3.14.2
- 3.14.1
- 3.14.0
- 3.14.0-beta.2
- 3.14.0-beta.1
- 3.13.6
- 3.13.5
- 3.13.4
- 3.13.3
- 3.13.2
- 3.13.1
- 3.13.0
- 3.12.1
- 3.12.0
- 3.11.1-beta
- 3.11.0
- 3.11.0-beta
- 3.10.6
- 3.10.5
- 3.10.4
- 3.10.3
- 3.10.2
- 3.10.1
- 3.10.0
- 3.9.1
- 3.9.0
- 3.8.1
- 3.8.0
- 3.7.0-p2
- 3.7.0-p1
- 3.7.0
- 3.6.1
- 3.6.0
- 3.4.0
- 3.3.1
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.3
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.0
- 1.9.1
- 1.9.0
- v1.8.x-dev
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.1
- 1.0.0
- 0.9.1
- 0.9.0
- 0.8.4
- 0.8.3
- 0.8.2
- dev-release/3.15.0-dev
- dev-fix/MAGE-1145-landing-page-customer-groups
- dev-feat/MAGE-1104-granular-profiling
- dev-release/3.15.0-beta
- dev-revert-1645-release/3.15.0-dev
- dev-epic/MAGE-978-multi-app-ids
- dev-epic/MAGE-978/multi-apps
- dev-release/3.14.3-rc
- dev-release/3.14.3
- dev-release/3.13.6-rc
- dev-release/3.13.6
- dev-feature/MAGE-1092-release3-13-6
- dev-feature/MAGE-1050-category-search-test
- dev-feat/MAGE-1051-pricing-testing
- dev-feature/MAGE-1044-replica-testing
- dev-bugfix/MAGE-1081-stale-replica-setting-comparison
- dev-bugfix/MAGE-1066-null-prefix
- dev-epic/MAGE-997
- dev-feature/MAGE-899-mixin-compat
- dev-feature/MAGE-1015-bundle-stuffing
- dev-feature/MAGE-1020-unpack-legacy-libs
- dev-bugfix/MAGE-1023-landing-page-type-fix
- dev-feat/MAGE-980-multi-apps-validation
- dev-feature/MAGE-998-unbundle-instantsearch
- dev-release/3.14.2
- dev-feature/MAGE-1018
- dev-release/3.14.1
- dev-feature/MAGE-1010
- dev-release/3.14.1-rc
- dev-bugfix/MAGE-1017-patch-for-3.14.0
- dev-bugfix/MAGE-1017-recommend-reference-missing-issue
- dev-feature/MAGE-999
- dev-feature/MAGE-1000-mustache
- dev-feature/MAGE-1000
- dev-feature/MAGE-940
- dev-bugfix/MAGE-1010
- dev-bugfix/MAGE-963
- dev-release/3.14.0
- dev-feature/MAGE-962
- dev-release/3.14.0-beta
- dev-feature/MAGE-961
- dev-bugfix/MAGE-950
- dev-MAGE-959
- dev-feature/MAGE-878
- dev-release/3.13.5
- dev-MAGE-958
- dev-MAGE-944
- dev-bugfix/MAGE-909
- dev-feature/MAGE-926/js-reorg
- dev-epic/MAGE-721
- dev-feature/MAGE-943
- dev-bugfix/MAGE-926/js-reorg
- dev-feature/MAGE-848
- dev-feature/MAGE-938
- dev-MAGE-943
- dev-feature/MAGE-941
- dev-bugfix/MAGE-947/css-fix
- dev-bugfix/MAGE-949/remove-2.3-compatibility
- dev-feature/MAGE-837
- dev-release/3.13.4
- dev-MAGE-934
- dev-feature/MAGE-839
- dev-bugfix/MAGE-937/fix-3.14.0
- dev-bugfix/MAGE-937/fix-3.13.4
- dev-matthewbond-patch-1
- dev-epic/MAGE-893
- dev-bugfix/MAGE-901
- dev-feature/MAGE-935
- dev-feature/MAGE-721-v2
- dev-feature/MAGE-896
- dev-feature/MAGE-895
- dev-feature/MAGE-894
- dev-bugfix/MAGE-932
- dev-bugfix/remove-unused-function
- dev-bugfix/MAGE-929
- dev-next
- dev-release/3.13.3
- dev-feature/MAGE-855
- dev-feature/MAGE-866
- dev-bugfix/MAGE-879
- dev-feature/MAGE-881
- dev-feature/MAGE-860
- dev-bugfix/MAGE-854
- dev-bugfix/MAGE-889
- dev-feature/MAGE-832
- dev-feature/MAGE-877
- dev-feature/MAGE-876
- dev-feature/MAGE-780
- dev-feature/MAGE-863
- dev-feature/MAGE-836
- dev-feature/MAGE-827
- dev-feature/MAGE-721
- dev-revert-1486-develop
- dev-release/3.13.2
- dev-revert-replica
- dev-feature/MAGE-817
- dev-upgrade/MAGE-825
- dev-release/3.13.1
- dev-bugfix/MAGE-561
- dev-bugfix/MAGE-823
- dev-bugfix/MAGE-797
- dev-update/MAGE-758
- dev-update/MAGE-822
- dev-release/3.13.0
- dev-feature/MAGE-814
- dev-update/MAGE-820
- dev-MAGE-819
- dev-update/MAGE-819
- dev-release/3.12.1
- dev-update/MAGE-804
- dev-update/MAGE-780
- dev-update/MAGE-760
- dev-feature/MAGE-813
- dev-feature/MAGE-810
- dev-bugfix/MAGE-793
- dev-bugfix/MAGE-800
- dev-bugfix/MAGE-808
- dev-revert-1449-revert-1444-bugfix/MAGE-797
- dev-release/3.12.0
- dev-revert-1444-bugfix/MAGE-797
- dev-feature/MAGE-791
- dev-update/MAGE-798
- dev-feature/MAGE-762
- dev-release/3.11.1
- dev-bugfix/MAGE-787
- dev-bugfix/MAGE-761
- dev-bugfix/MAGE-796
- dev-bugfix/MAGE-792
- dev-update/MAGE-781
- dev-feature/MAGE-725
- dev-feature/MAGE-731
- dev-bugfix/MAGE-795
- dev-revert-1340-issue/configurable_special_price_range
- dev-update/MAGE-759
- dev-update/MAGE-772
- dev-update/MAGE-771
- dev-bugfix/MAGE-773
- dev-release/3.11.1-beta
- dev-chore/update-algolia-support
- dev-update/MAGE-765
- dev-update/MAGE-722-1
- dev-update/MAGE-532
- dev-update/MAGE-726
- dev-feature/MAGE-681-NS-POV
- dev-release/3.11.0
- dev-update/MAGE-730
- dev-release/3.10.7
- dev-update/MAGE-722
- dev-bugfix/MAGE-621
- dev-update/MAGE-754
- dev-update/MAGE-753
- dev-update/MAGE-750
- dev-feature/MAGE-744
- dev-update/MAGE-739
- dev-mohitalgolia-patch-1
- dev-update/MAGE-737
- dev-release/3.10.6
- dev-MAGE-712
- dev-bugfix/MAGE-714
- dev-update/MAGE-720
- dev-update/MAGE-634
- dev-release/3.11.0-beta
- dev-update/MAGE-274
- dev-release/3.10.5
- dev-feature/MAGE-640
- dev-update/MAGE-708
- dev-update/CR-3956
- dev-feature/MAGE-676
- dev-MAGE-703
- dev-update/MAGE-676
- dev-update/MAGE-697
- dev-feature/MAGE-675
- dev-feature/MAGE-674
- dev-bugfix/MAGE-652
- dev-feature/MAGE-657
- dev-release/3.10.4
- dev-integration/3.10.4
- dev-bugfix/MAGE-653
- dev-bugfix/MAGE-666
- dev-update/MAGE-655
- dev-update/MAGE-649
- dev-bugfix/MAGE-656
- dev-release/3.10.3
- dev-release/final-3.10.3
- dev-update/MAGE-654
- dev-bugfix/MAGE-654-fix-api-key-link
- dev-bugfix/MAGE-633
- dev-bugfix/MAGE-651
- dev-feat/MAGE-591
- dev-bugfix/MAGE-642
- dev-update/MAGE-630
- dev-update/MAGE-636
- dev-update/MAGE-612-1
- dev-fix/MAGE-612
- dev-fix/MAGE-604
- dev-bugfix/MAGE-619
- dev-keybits/update-readme
- dev-bugfix/MAGE-632
- dev-bugfix/MAGE-629
- dev-bugfix/CR-2828
- dev-update/3.7.0
- dev-update/3.7.0-p2
- dev-changelog-3.10.2-patch-1
- dev-release/3.10.2
- dev-release-notes-update-3.10.2
- dev-revert-1332-bugfix/MAGE-613
- dev-bugfix/MAGE-613
- dev-bugfix/MAGE-610
- dev-feature/MAGE-607
- dev-bugfix/MAGE-572
- dev-feature/MAGE-602
- dev-fix/MAGE-559
- dev-feat/MAGE-579
- dev-MAGE-596
- dev-update/MAGE-589
- dev-release3-10-1-patch-1
- dev-feature/MAGE-571
- dev-feature/MAGE-581
- dev-update/MAGE-556
- dev-bugfix/MAGE-558
- dev-release-3.10.1-prep
- dev-feat/MAGE-583
- dev-bugfix/MAGE-569
- dev-feat/INTEG-492
- dev-MAGE-347-cron-schedule-admin-config
- dev-revert-1216-bugfix/MAGE-255
- dev-release/3.10.0
- dev-bugfix/MAGE-501-update
- dev-bugfix/MAGE-337
- dev-feature/MAGE-464
- dev-feature/MAGE-528
- dev-feature/MAGE-510
- dev-feature/MAGE-336
- dev-update/MAGE-373
- dev-update/MAGE-491
- dev-update/MAGE-512
- dev-update/MAGE-541
- dev-bugfix/MAGE-533
- dev-bugfix/MAGE-530
- dev-bugfix/MAGE-501
- dev-bugfix/MAGE-526
- dev-feature/MAGE-467
- dev-release/3.9.1
- dev-update/MAGE-492
- dev-bugfix/MAGE-516
- dev-dev-release-3.9.1
- dev-update/MAGE-305
- dev-MAGE-493
- dev-bugfix/MAGE-499
- dev-bugfix/MAGE-503
- dev-bugfix/MAGE-471
- dev-bugfix/MAGE-478
- dev-bugfix/MAGE-475
- dev-feature/MAGE-476
- dev-bugfix/MAGE-443
- dev-bugfix/MAGE-397
- dev-bugfix/MAGE-435
- dev-feature/MAGE-486
- dev-changelog-3.9.0
- dev-release/3.9.0
- dev-bugfix/MAGE-470
- dev-MAGE-448
- dev-feature/MAGE-466
- dev-update/MAGE-434
- dev-bugfix/MAGE-374
- dev-feature/MAGE-362
- dev-bugfix/MAGE-315
- dev-bugfix/MAGE-376
- dev-bugfix/MAGE-407
- dev-update/MAGE-418
- dev-feature/MAGE-412
- dev-bugfix/MAGE-390
- dev-feature/MAGE-361
- dev-feature/MAGE-264
- dev-release/MAGE-271
- dev-bufix/Mage-301
- dev-develop-2.x
- dev-master-1.x
- dev-develop-1.x
This package is auto-updated.
Last update: 2024-11-22 15:20:50 UTC
README
Features
The Algolia extension replaces the default search in Magento Open Source and Adobe Commerce with a robust autocomplete search menu and Instantsearch results page.
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.
-
Autocompletion menu: Provide your entire catalog to End-Users instantly via the dropdown menu, regardless of the number of categories or attributes it contains.
-
Instantsearch results page: Have your search results page, navigation and pagination updated in realtime, after each keystroke.
-
Recommend: Algolia Recommend lets you display recommendations such as "Frequently Bought Together" and "Related Products" features on the product detail page.
Learn more at our official website Adobe Commerce / Magento
Demo
Try the autocomplete and the instantsearch results page on our live demo.
Magento 2.4 compatibility & extension versions End of Life
Magento 2.3 and earlier versions are no longer supported by the Algolia extension.
Version 3.x of our extension is compatible with Magento 2.4. Review the Customisation section to learn more about the differences between our extension versions.
Documentation
- Quick-Start and Installation
- General FAQs
- Technical Troubleshooting Guide
- Indexing Queue
- Frontend Custom Events
- Dispatched Backend Events
Installation
The easiest way to install the extension is to use Composer and follow our getting started guide.
If you would like to stay on a minor version, please upgrade your composer to only accept minor versions. The following example will keep you on the minor version and will update patches automatically.
"algolia/algoliasearch-magento-2": "~3.14.2"
Customisation
The extension uses libraries to help assist with the frontend implementation for autocomplete, instantsearch, and insight features. It also uses the Algolia PHP client to leverage indexing and search methods from the backend. When you approach customisations for either, you have to understand that you are customising the implementation itself and not the components it is based on.
These libraries are here to help add to your customisation but because the extension has already initialised these components, you should use hooks into the area between the extension and the libraries. Please check our Custom Extension for refrence
The Extension JS Bundle
Knowing the version of the library will help you understand what is available in these libraries for you to leverage in terms of customisation. This table will help you determine which documentation to reference when you start working on your customisation.
The autocomplete and instantsearch libraries are accessible in the algoliaBundle
global. This bundle is a prepackage javascript file that contains it's dependencies. What is included in this bundle can be seen here:
v3.x latest bundle: https://github.com/algolia/algoliasearch-extensions-bundle/blob/ISv4/package.json
The search-insights.js library is standalone.
Refer to these docs when customising your Algolia Magento extension frontend features:
The Algolia PHP API Client
The extension does most of the heavy lifting when it comes to gathering and preparing the data needed for indexing to Algolia. In terms of interacting with the Algolia Search API, the extension leverages the PHP API Client for backend methods including indexing, configuration, and search queries.
Depending on the extension version you are using, you could have a different PHP API client version powering the extension's backend functionality.
Refer to these docs when customising your Algolia Magento extension backend:
Support
For feedback, bug reporting, or unresolved issues with the extension, please visit our Support Center where you can search the knowldge base and contact the Support team. Please include your Magento version, extension version, application ID, and steps to reproducing your issue. Add additional information like screenshots, screencasts, and error messages to help our team better troubleshoot your issues.
Contributing
To start contributing to the extension follow the contributing guildelines.