arcmedia/mage2-search-and-operator
Composer 安装命令:
composer require arcmedia/mage2-search-and-operator
包简介
A config extension, that makes magento2 searches use AND instead of OR Operators
README 文档
README
For some rather strange reasons, the devs at Magento have set the default search to combine search words with an OR parameter. Upon entering a search query, results are shown in alphabetical order. This is rather useless, because search results machting all words would apear further down in the list, than a search result that only matches one word but is better ranked in an alphabetic search.
Example:
Search query: The cutest kitten book
Results would be:
- Allowing kids to read a book
- Dental surgery using the cutest safety Masks
- Many ways to book your holidays
- The cutest kitten book
With the AND operator, search results will be:
- The cutest kitten book
Setup
Install via composer "composer require arcmedia/mage2-search-and-operator"
run "php bin/magento setup:upgrade" flush all caches.
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-17