Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在产品列表上方的类别列表页面中按下拉部分排序附近显示尺寸过滤器属性。默认情况下,它出现在左侧边栏(分层导航)中。请提供一些解决方案,在列表页面中显示尺寸过滤器属性(例如:XL、L、XXL 等)。
更改主题的 catalog.xml
<reference name="content"> <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference>
如上所述将参考名称更改为“内容”而不是“左”,然后根据您的需要更改css和模板