0

我想在右列或左列的高级搜索结果(目录搜索/高级/结果/)上添加分层导航块。虽然,我在 catalogsearch_advanced_result 下的 catalogsearch.xml 中添加了以下代码,但未显示分层导航。

<reference name="left"> <!-- <block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>--> <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference>

如果您看到第一个注释块(catalogsearch/layer)它会引发错误,所以我放了第二个块(catalog/layer_view)它不会引发错误,但分层导航也不会显示。

4

1 回答 1

0

请尝试以下扩展。它开箱即用。非常好并且兼容 1.4+ magento 版本。

http://www.xthemers.com/xt-advanced-layered-navigation.html

于 2014-11-21T14:02:44.520 回答