0
我按照这里的指南,允许根据产品的属性设置为应用布局更新: http://magebase.com/magento-tutorials/creating-custom-layout-handles/Magento的显示在列表/网格视图属性,基于属性设置
理想我想显示出对某些属性基于属性集的列表和网格视图的目录类别页面。
所以我一直在local.xml中
<!-- CATALOG LIST/GRID -->
<PRODUCT_ATTRIBUTE_SET_Antibodies>
<reference name="extra.product.detail.list">
<block type="core/template" name="antibody.detail.extra" template="catalog/product/list/detail/antibodies.phtml" />
</reference>
</PRODUCT_ATTRIBUTE_SET_Antibodies>
加入这一点,这里是extra.product.detail.list参考(瘦身)
<catalog_category_layered translate="label">
<label>Catalog Category (Anchor)</label>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left-flipped.phtml</template></action>
</reference>
<reference name="left">
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
</reference>
<reference name="content">
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
<!-- ADDED THIS -->
<block type="core/text_list" name="extra.product.detail.list" as="extra_product_detail_list" />
</block>
</block>
</reference>
</catalog_category_layered>
我似乎无法在类别页面上显示任何内容?该布局更新是否仅适用于产品页面?
任何帮助将深表谢意。