blackbird/module-hyva-algolia-search
Composer 安装命令:
composer require blackbird/module-hyva-algolia-search
包简介
Blackbird_HyvaAlgoliaSearch makes Algolia_AlgoliaSearch compatible with Hyvä Themes
README 文档
README
Compat module for Algolia Search on Magento 2 using Hyvä Themes. This requires:
- A Hyvä Themes key
- Access to Algolia
- blackbird/external-ressource-loader to dynamically load all the Algolia ressources.
Compatibility
This module is only compatible with algoliasearch from version 3.17 onwards.
Setup
Get the package
Composer Package:
composer require blackbird/module-hyva-algolia-search
Zip Package: Unzip the package in app/code/Blackbird/HyvaAlgoliaSearch, from the root of your Magento instance.
Install the module
Go to your Magento root directory and run the following magento command:
php bin/magento setup:upgrade
If you are in production mode, do not forget to recompile and redeploy the static resources, or use the --keep-generated option.
Once the module is installed, please check the app/etc/hyva-themes.json file.
Depending on how the module has been installed, the following line must be now present in the app/etc/hyva-themes.json file.
Installed using composer
{
"extensions": [
...
{
"src": "vendor\/blackbird\/module-hyva-algolia-search\/src"
},
...
]
}
Installed using a Zip package
{
"extensions": [
...
{
"src": "app\/code\/Blackbird\/HyvaAlgoliaSearch\/src"
},
...
]
}
If the line is missing (notably for Magento 2.4.7 and late patches of Magento 2.4.6), please run the following command as per official documentation and check that the new line appears:
bin/magento hyva:config:generate
What's included
This compat modules offers full Hyvä-compatibility for the following Algolia services:
- Algolia Search
- Algolia InstantSearch
- Algolia Recommend
- Algolia Autocomplete
- Algolia Insights
Default styling is heavily inspired by the native theme of Hyvä Themes. Most style classes are used directly in the relevent templates or in the overridable tailwind-source.css file located in the view/frontend/tailwind/ directory.
Compare and wishlist feature has been reported.
Known issues, limitations
- As of now, the Ajax add to basket feature has been implemented within a limited scope. Simple products have the quick ATB option but configurable products are forwarded to the product page.
- The native Hyvä Themes implementation of the option selection on a product tile has not been integrated yet.
- Filters styling on a listing page are quite raw at the moment. This will be improved in the future
blackbird/module-hyva-algolia-search 适用场景与选型建议
blackbird/module-hyva-algolia-search 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 21.28k 次下载、GitHub Stars 达 14, 最近一次更新时间为 2024 年 08 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 blackbird/module-hyva-algolia-search 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 blackbird/module-hyva-algolia-search 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 21.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-12