无法在CMS页面中添加分层导航块 [英] Can't add layered navigation block into CMS page

查看:167
本文介绍了无法在CMS页面中添加分层导航块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在CMS页面上展示新产品。它工作正常。然后,我需要添加左侧的分层导航块来筛选出选择。但它从来没有工作。我将这段代码添加到 Layout Update XML 字段中: >
< / reference>

我尝试过使用块类型的核心/模板,但它仍然不起作用。有谁知道为什么它从来没有工作?

解决方案

你不能使用这种类型的代码调用图层导航。对于cms的图层导航哟
u需要一个类或者如果你没有类别,然后把根类别ID,其ID为2(默认类别)
这里的链接的细节

https://stackoverflow.com/questions/21241181/cms-page-with-layered-navigation不工作/ 21242296#21242296https://stackoverflow.com/questions/21241181/cms-page-with


I need to show new products on a CMS page. It works fine. Then I need to add the layered navigation block on the left to filter out the selection. But it never works. I add this code into the Layout Update XML field:

<reference name="left">
  <block type="catalog/navigation" name="catalog.leftnav" template="catalog/navigation/left.phtml"></block>
</reference>

I tried with block type core/template, but it still doesn't work. Does anyone know why it never works?

解决方案

you can not call layer navigation using this type of code.For layer navigation on cms yo u need a category or if you do not have category then put root category id,whose id 2(Default category) here details of link

https://stackoverflow.com/questions/21241181/cms-page-with-layered-navigation-not-working/21242296#21242296https://stackoverflow.com/questions/21241181/cms-page-with

这篇关于无法在CMS页面中添加分层导航块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆