【发布时间】:2012-07-05 11:39:39
【问题描述】:
我在 Magento 1.7.0.1 上安装了 Modern Theme 和 CODNITIVE 的扩展“侧边栏导航菜单专业版”,所以我有三个框(“Shop By”、“Categories”、“Compare Products”和“My Cart”)在左侧边栏。现在我想以这种方式更改顺序:
- 我的购物车
- 类别
- 比较产品。
我尝试通过使用行编辑 catalog.xml 来更改订单
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
并以这种方式更改它:
<block type="catalog/product_compare_sidebar" after="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
所以“我的购物车”位于“比较”框上方 - 这就是我所知道的,因为在 magentocommerce.com 上的论坛中很难找到明确的解决方案。而且我不知道类别框的 .xml 文件。
CODNITIVE 的另一个建议是创建一个自己的 locale.xml 文件,您可以在其中编辑完整的页面布局。但这对我没有帮助,因为我不是程序员。
谁能帮我编辑侧边栏布局? (对不起,我的英语。)
【问题讨论】: