我正在使用 magento 社区版本 1.9,并且我已经集成了 mirasvit sphinx 搜索扩展,但它不适用于分层导航模块。我正在使用 Mana 分层导航过滤搜索结果,但它仍然显示相同的结果。它没有对搜索结果应用分层导航过滤器。当我删除这个 mirasvit 扩展并使用默认搜索模块应用过滤器时,它工作正常。会要求你为我提供帮助。
谢谢扎希德
我正在使用 magento 社区版本 1.9,并且我已经集成了 mirasvit sphinx 搜索扩展,但它不适用于分层导航模块。我正在使用 Mana 分层导航过滤搜索结果,但它仍然显示相同的结果。它没有对搜索结果应用分层导航过滤器。当我删除这个 mirasvit 扩展并使用默认搜索模块应用过滤器时,它工作正常。会要求你为我提供帮助。
谢谢扎希德
两个提供商的网站都回答了这个问题:
与扩展 Mana_Fitlers 存在已知冲突。尝试应用过滤器时,搜索结果页面上可能会出现错误。
解决方案:
1 - app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/layout/catalogsearch.xml - 找到并注释掉里面
<reference name="content">
的所有内容<catalogsearch_result_index>
,如下所示:<catalogsearch_result_index> ... <reference name="content"> <!-- COMMENT EVERYTHING IN IT --> </reference> ... </catalogsearch_result_index>
2 - app/etc/modules/Mirasvit_SearchIndex.xml - 通过添加对 Mana_Filters 模块的依赖,确保这个模块在我们的模块之前加载:
<config> <modules> <Mirasvit_SearchIndex> <active>true</active> <codePool>local</codePool> </Mirasvit_SearchIndex> <Mana_Filters> <depends> <Mirasvit_SearchIndex/> </depends> </Mana_Filters> </modules> </config>