Giter Site home page Giter Site logo

thomas-kl1 / algoliasearch-magento-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from algolia/algoliasearch-magento-2

0.0 0.0 0.0 18.74 MB

Algolia Search integration for Magento 2 - compatible with versions from 2.3.x to 2.4.x

Home Page: https://www.algolia.com/solutions/magento/

License: Other

Shell 0.66% JavaScript 11.71% PHP 68.50% CSS 6.47% HTML 12.20% Dockerfile 0.45%

algoliasearch-magento-2's Introduction

Algolia Search & Discovery extension for Magento 2

Latest version Magento 2

PHP

CircleCI


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

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.

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.

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.

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.

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:

"algolia/algoliasearch-magento-2": "3.12.0"

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.

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:

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

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.

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:

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.

algoliasearch-magento-2's People

Contributors

mohitalgolia avatar janpetr avatar damcou avatar cammonro avatar ratikant-singh avatar bsuravech avatar rachel-trott avatar rakesh-algolia avatar phirunson avatar nunomaduro avatar unicoder88 avatar vmalyk avatar maxiloc avatar peterjaap avatar palviggi-flagbit avatar julienbourdeau avatar 0livier avatar shipow avatar lukaszqs avatar tarun-algolia avatar tkrugg avatar devincodes avatar fredden avatar sammarcus avatar vincentmarmiesse avatar rafal-kos avatar mwr avatar pborreli avatar codeharmonics avatar sanderjongsma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.