我现在有点困惑。
我想在3科院的布局中显示类别列表。这是可行的。
但是我想展示的产品是2 col带右。我可以更改每一个产品的布局--但是我想为所有的产品设置这个布局。
我该怎么做?
发布于 2013-09-23 15:43:33
例如,在模板中使用文件catalog.xml:
magentofolder/app/design/frontend/default/default/layout/catalog.xml (默认/默认应该是布局页面)
对于anchod和nachor类别的更新:
<catalog_category_default translate="label">
(非锚)
<catalog_category_layered translate="label">
(锚)
<catalog_product_view translate="label">
目录产品视图(任意)
编辑行<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
至
<action method="setTemplate"><template>page/3columns.phtml</template></action>
https://stackoverflow.com/questions/18963064
复制相似问题