2017 © Pedro Peláez
 

magento2-module algoliasearch-magento-2

Algolia Search integration for Magento 2

image

algolia/algoliasearch-magento-2

Algolia Search integration for Magento 2

  • Tuesday, July 24, 2018
  • by maxiloc
  • Repository
  • 56 Watchers
  • 84 Stars
  • 80,153 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 56 Forks
  • 24 Open issues
  • 53 Versions
  • 22 % Grown

The README.md

Algolia Search & Discovery extension for Magento 2

Latest version Magento 2, (*1)

PHP, (*2)

CircleCI, (*3)


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., (*4)

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., (*5)

  • Autocompletion menu: Provide your entire catalog to End-Users instantly via the dropdown menu, regardless of the number of categories or attributes it contains., (*6)

  • Instantsearch results page: Have your search results page, navigation and pagination updated in realtime, after each keystroke., (*7)

  • Recommend: Algolia Recommend lets you display recommendations such as "Frequently Bought Together" and "Related Products" features on the product detail page., (*8)

Learn more at our official website Adobe Commerce / Magento, (*9)

Demo

Try the autocomplete and the instantsearch results page on our live demo., (*10)

Magento 2.4 compatibility & extension versions End of Life

We are happy to announce that version 3.x of our extension is now compatible with Magento 2.4. Review the Customisation section to learn more about the differences between our extension versions., (*11)

The 1.x and 2.x versions of the extension are now End of Life (EOL). We no longer accept community PRs for those branches., (*12)

Extension Version End of Life
v1.x Dec 2020
v2.x Dec 2020
v3.x N/A

Documentation

Installation

The easiest way to install the extension is to use Composer and follow our getting started guide., (*13)

Upgrading from 1.x to 2.x

With the release of a new major version, we have decided to create minor and major version releases to allow those that want to continue on the minor version. This update will break compatibility. Please read the upgrade guide for all of the file changes and updates included in this release., (*14)

If you would like to stay on a minor version, please upgrade your composer to only accept versions less than version 2 like the example:, (*15)

"algolia/algoliasearch-magento-2": "3.12.0", (*16)

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., (*17)

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, (*18)

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., (*19)

Extension Version autocomplete.js instantsearch.js search-insights.js recommend.js
v1.x 0.26.0 2.10.2 0.0.14 NA
v2.x 0.38.0 4.7.2 1.4.0 NA
v3.x 0.38.0 4.15.0 1.7.1 NA
v3.9.1 1.6.3 4.41.0 1.7.1 1.5.0
v3.10.x 1.6.3 4.41.0 1.7.1 1.8.0
v3.11.0 1.6.3 4.41.0 2.6.0 1.8.0
>=v3.13.0 1.6.3 4.63.0 2.6.0 1.8.0

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:, (*20)

v1.x latest bundle: https://github.com/algolia/algoliasearch-extensions-bundle/blob/ISv2/package.json \ v2.x latest bundle: https://github.com/algolia/algoliasearch-extensions-bundle/blob/ISv4/package.json, (*21)

The search-insights.js library is standalone., (*22)

Refer to these docs when customising your Algolia Magento extension frontend features: - Autocomplete - Instantsearch - Frontend Custom Events, (*23)

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., (*24)

Depending on the extension version you are using, you could have a different PHP API client version powering the extension's backend functionality., (*25)

Extension Version API Client Version
v1.x 1.28.0
v2.x 2.5.1
v3.x 2.5.1
v3.6.x 3.2.0
>= v3.11.0 3.3.2

Refer to these docs when customising your Algolia Magento extension backend: - Indexing - Dispatched Backend Events, (*26)

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., (*27)

Contributing

To start contributing to the extension follow the contributing guildelines., (*28)

The Versions

24/07 2018

dev-feat/merchandising_qrs

dev-feat/merchandising_qrs

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

24/07 2018

dev-queue_page

dev-queue_page

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

24/07 2018

dev-develop

dev-develop

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

dev-typo

dev-typo

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

dev-master

9999999-dev

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

1.7.1

1.7.1.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

dev-upd/config_descs

dev-upd/config_descs

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

dev-bump/1.7.1

dev-bump/1.7.1

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

dev-cast_exception_configuration

dev-cast_exception_configuration

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/07 2018

dev-fix/zero_prices

dev-fix/zero_prices

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

07/06 2018

dev-handle_connection_error

dev-handle_connection_error

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

04/06 2018

1.7.0

1.7.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

28/05 2018

dev-upd/instantsearch

dev-upd/instantsearch

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

27/05 2018

dev-fix/expiredspecial_price

dev-fix/expiredspecial_price

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

27/04 2018

dev-feat/conversion_analytics

dev-feat/conversion_analytics

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

22/03 2018

dev-misc/mainainers_file

dev-misc/mainainers_file

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

02/03 2018

dev-feat/new_frontend_hooks

dev-feat/new_frontend_hooks

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

01/03 2018

dev-feat/click_tracking

dev-feat/click_tracking

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

27/02 2018

1.6.0

1.6.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

31/01 2018

dev-refactor/remove_protected_members

dev-refactor/remove_protected_members

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

31/01 2018

dev-feat/infinite_scrolling

dev-feat/infinite_scrolling

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

30/01 2018

dev-feat/prevent_backend_rendering

dev-feat/prevent_backend_rendering

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

29/01 2018

dev-refactor/price_manager_class

dev-refactor/price_manager_class

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

29/01 2018

dev-refactor/lower_cyclomatic_complexity

dev-refactor/lower_cyclomatic_complexity

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

19/01 2018

1.5.0

1.5.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

23/11 2017

1.4.0

1.4.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

25/10 2017

dev-new_travis_matrix

dev-new_travis_matrix

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

25/10 2017

dev-fix/no_results_is_page

dev-fix/no_results_is_page

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

02/10 2017

1.3.0

1.3.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

28/09 2017

dev-bump_130

dev-bump_130

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

07/09 2017

1.2.1

1.2.1.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

28/08 2017

dev-support_php71

dev-support_php71

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

10/07 2017

1.2.0

1.2.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

16/06 2017

dev-remove_delete_indices_methods

dev-remove_delete_indices_methods

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

17/05 2017

1.1.0

1.1.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

03/04 2017

1.0.10

1.0.10.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

03/04 2017

1.0.9

1.0.9.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

30/03 2017

dev-paralel_tests

dev-paralel_tests

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

29/03 2017

dev-fix_pagination

dev-fix_pagination

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

22/03 2017

dev-fix_prices

dev-fix_prices

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

06/03 2017

1.0.8

1.0.8.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

02/03 2017

1.0.6

1.0.6.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

07/01 2017

1.0.5

1.0.5.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

22/11 2016

1.0.4

1.0.4.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

01/11 2016

dev-queue_logging

dev-queue_logging

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

24/10 2016

1.0.3

1.0.3.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

09/09 2016

1.0.1

1.0.1.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

22/08 2016

1.0.0

1.0.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

22/08 2016

0.9.1

0.9.1.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

18/08 2016

0.9.0

0.9.0.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

12/08 2016

0.8.4

0.8.4.0

Algolia Search integration for Magento 2

  Sources   Download

MIT

The Requires

 

12/08 2016

0.8.3

0.8.3.0

Algolia Search Magento

  Sources   Download

MIT

The Requires

 

11/08 2016

0.8.2

0.8.2.0

Algolia Search Magento

  Sources   Download

The Requires