【问题标题】:Magento - How can I change the sidebar order?Magento - 如何更改侧边栏顺序?
【发布时间】:2012-07-05 11:39:39
【问题描述】:

我在 Magento 1.7.0.1 上安装了 Modern Theme 和 CODNITIVE 的扩展“侧边栏导航菜单专业版”,所以我有三个框(“Shop By”、“Categories”、“Compare Products”和“My Cart”)在左侧边栏。现在我想以这种方式更改顺序:

  1. 我的购物车
  2. 类别
  3. 比较产品。

我尝试通过使用行编辑 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 文件,您可以在其中编辑完整的页面布局。但这对我没有帮助,因为我不是程序员。

谁能帮我编辑侧边栏布局? (对不起,我的英语。)

【问题讨论】:

    标签: xml magento layout


    【解决方案1】:

    对于类别,你可以检查 sidenav.xml 并在那里更改导航块的位置。

    查看this Post了解详情。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-11-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-17
      • 2020-01-10
      • 2017-01-02
      • 1970-01-01
      相关资源
      最近更新 更多