2
,所以我改變的catalog.xml代碼Magento的:從類別過濾器左邊也是我們的家顯示左側菜單
<catalog_category_layered translate="label">
<label>Catalog Category (Anchor)</label>
<reference name="left">
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
</reference>
</catalog_category_default>
<catalog_category_default translate="label">
<label>Catalog Category (Non-Anchor)</label>
<reference name="left">
<!-- <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>-->
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
</reference>
</catalog_category_default>
我想補充留在我們的模板home.phtml過濾層,但它不工作 我也添加block home.phtml管理cms設計,但它不工作,所以任何一個告訴 我能做什麼?
我檢查它,但它不工作... –
你能嘗試把它在佈局更新選項卡主頁 <引用名稱=「左」> <塊型=「目錄/ layer_view」名稱=「catalog.leftnav」before =「 - 」template =「catalog/layer/view.phtml」/> – ronnz
是的,我把它放在主頁上,但它不工作。 –