Project Icon

algoliasearch-magento-2

Magento 2高效搜索和产品发现扩展

这个Magento 2扩展基于Algolia技术,替换默认搜索功能,提供自动完成菜单和即时搜索结果。它具有高容错性、快速响应和精准相关性,支持全目录实时搜索、动态更新结果页面和智能产品推荐,有效优化了电商平台的搜索性能和用户体验。

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

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.

Extension VersionEnd of LifeMagentoPHP
v3.13.xN/A2.4.x^7.2 || ^8.0
v3.14.xN/A2.4.x>=8.1

Documentation

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.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 Versionautocomplete.jsinstantsearch.jssearch-insights.jsrecommend.js
v3.x0.38.04.15.01.7.1NA
v3.9.11.6.34.41.01.7.11.5.0
v3.10.x1.6.34.41.01.7.11.8.0
v3.11.01.6.34.41.02.6.01.8.0
v3.13.01.6.34.63.02.6.01.8.0
>=v3.14.x1.6.34.63.02.6.01.15.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:

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 VersionAPI Client Version
v3.x2.5.1
v3.6.x3.2.0
v3.11.03.3.2
>=v3.14.x4.0.x

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.

项目侧边栏1项目侧边栏2
推荐项目
Project Cover

豆包MarsCode

豆包 MarsCode 是一款革命性的编程助手,通过AI技术提供代码补全、单测生成、代码解释和智能问答等功能,支持100+编程语言,与主流编辑器无缝集成,显著提升开发效率和代码质量。

Project Cover

AI写歌

Suno AI是一个革命性的AI音乐创作平台,能在短短30秒内帮助用户创作出一首完整的歌曲。无论是寻找创作灵感还是需要快速制作音乐,Suno AI都是音乐爱好者和专业人士的理想选择。

Project Cover

白日梦AI

白日梦AI提供专注于AI视频生成的多样化功能,包括文生视频、动态画面和形象生成等,帮助用户快速上手,创造专业级内容。

Project Cover

有言AI

有言平台提供一站式AIGC视频创作解决方案,通过智能技术简化视频制作流程。无论是企业宣传还是个人分享,有言都能帮助用户快速、轻松地制作出专业级别的视频内容。

Project Cover

Kimi

Kimi AI助手提供多语言对话支持,能够阅读和理解用户上传的文件内容,解析网页信息,并结合搜索结果为用户提供详尽的答案。无论是日常咨询还是专业问题,Kimi都能以友好、专业的方式提供帮助。

Project Cover

讯飞绘镜

讯飞绘镜是一个支持从创意到完整视频创作的智能平台,用户可以快速生成视频素材并创作独特的音乐视频和故事。平台提供多样化的主题和精选作品,帮助用户探索创意灵感。

Project Cover

讯飞文书

讯飞文书依托讯飞星火大模型,为文书写作者提供从素材筹备到稿件撰写及审稿的全程支持。通过录音智记和以稿写稿等功能,满足事务性工作的高频需求,帮助撰稿人节省精力,提高效率,优化工作与生活。

Project Cover

阿里绘蛙

绘蛙是阿里巴巴集团推出的革命性AI电商营销平台。利用尖端人工智能技术,为商家提供一键生成商品图和营销文案的服务,显著提升内容创作效率和营销效果。适用于淘宝、天猫等电商平台,让商品第一时间被种草。

Project Cover

AIWritePaper论文写作

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

投诉举报邮箱: service@vectorlightyear.com
@2024 懂AI·鲁ICP备2024100362号-6·鲁公网安备37021002001498号