如何在Magento中更改类别页面布局?

web*_*kul 6 magento

我的问题是我想改变我的类别页面布局类似于主页我尝试了很多,但没有得到答案.

小智 11

但是,执行此操作的最佳方法是不编辑catalog.xml,而是编辑page.xml

在,编辑你在那里看到的第一个块:

<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
Run Code Online (Sandbox Code Playgroud)

将此更改为:

<block type="page/html" name="root" output="toHtml" template="page/2columns-right.phtml"> 
Run Code Online (Sandbox Code Playgroud)

有关更多详细信息,请访问此链接 http://www.magentocommerce.com/boards/viewthread/16838/


小智 10

登录管理员端

Catelog - >管理类别 - >选择您的类别

然后在选项卡部分选择自定义设计.

根据需要更改页面布局.


Kat*_*Vel 7

我不确定我是否理解你的问题.无论如何...

您可以在template/catalog/category/view.phtml中编辑类别视图.

如果需要像主页一样使用3列布局,则需要在catalog.xml文件中分配3列模板.