如何在magento中显示类别页面

时间:2011-06-10 06:48:05

标签: magento categories

我正在使用magento 1.5.0.1。在我的主页中,我想显示类别,我创建了3个类别,并在管理员中给出了是活动选项。我想在我的主页上显示带有链接的这些类别。在主页我有这些代码

<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="product_list"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block>
</reference>

如何更改此选项以查看类别。我是magento的新手。请帮帮我......

我在添加类别时将“包含在导航菜单中”设置为“是”。

1 个答案:

答案 0 :(得分:7)

您可以使用内置窗口小部件“目录类别链接”。

  1. 打开magento后端

  2. 导航至CMS-&gt; Page

  3. 选择“主页”

  4. 选择标签“内容”

  5. 点击“插入小工具...”按钮

  6. 从可用小部件列表中选择小部件“目录类别链接”。

  7. 填写窗口小部件所需信息,然后单击“插入窗口小部件”按钮

  8. 对需要在主页上显示的每个类别重复步骤5-7