我有自定义布局页面
我已将以下代码添加到app / code / core / Mega / page / etc / config.xml
<shop_overview module="page" translate="label">
<label>Shop OverView Page</label>
<template>page/shop_overview.phtml</template>
<layout_handle>shop_overview</layout_handle>
</shop_overview>
这将在页面布局下拉列表中的管理面板上显示“Shop Over View Page”
我想仅从此页面布局的类别中删除产品列表。 我试过以下但是没有用。
<shop_overview translate="label">
<label>All One-Column Layout Pages</label>
<reference name="root">
<action method="setTemplate">
<template>page/shop_overview.phtml</template>
</action>
<action method="setIsHandle"><applied>1</applied></action>
</reference>
<reference name="category.products">
<remove name="product_list" />
</reference>
</shop_overview>
答案 0 :(得分:0)
您可以通过将显示模式更改为Static Block Only
来为此类别指定静态块。
然后为该类别创建并选择该块。
参考链接:http://leveluptuts.com/tutorials/magento-community-tutorials/19-how-add-static-block-category-page