是否可以仅从主页删除面包屑,magento 中有 1 个 local.xml? 我该怎么做?
我已经试过了,但是没有用...:(
<cms_index_index>
<reference name="root">
<remove name="breadcrumbs"/>
</reference>
</cms_index_index>
最佳答案
您不需要引用
。 remove
将找到名为 breadcrumbs
的 block 并将其删除。
<cms_index_index>
<remove name="breadcrumbs"/>
</cms_index_index>
也尝试添加
<remove name="breadcrumbs"/>
在后台更新您主页的 CMS 布局。这可能是您的 local.xml
的问题。
关于xml - magento 仅使用 local.xml 从家中删除面包屑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23430858/