sebwite / magento2-smartsearch
Magento 2.0 智能搜索
1.0.3
2016-03-29 14:54 UTC
Requires
- php: ~5.5.0|~7.0
- magento/magento-composer-installer: *
This package is not auto-updated.
Last update: 2024-09-14 18:42:11 UTC
README
Magento 2 类型前搜索实现。在搜索栏下方显示找到的产品列表,而无需重新加载页面。这是一个基本扩展,没有配置选项,用智能搜索实现替换了默认的 Magento 自动完成功能。
截图
使用 composer 安装
- 包含存储库:
composer require sebwite/magento2-smartsearch
- 启用扩展:
php bin/magento --clear-static-content module:enable Sebwite_SmartSearch
- 升级数据库结构:
php bin/magento setup:upgrade
- 清除缓存
不使用 composer 安装
- 下载此扩展的 zip 文件
- 将扩展的所有文件放入您的 Magento 2 安装目录下的 app/code/Sebwite/SmartSearch 文件夹中
- 启用扩展:
php bin/magento --clear-static-content module:enable Sebwite_SmartSearch
- 升级数据库结构:
php bin/magento setup:upgrade
- 清除缓存
完成这些步骤后,默认的 Magento 2 搜索栏将转换为智能搜索栏。
##待办事项
- 添加配置页面
- 显示加载指示器
- 添加缓存