【问题标题】:Magento: Move product group info to the bottom in the product viewMagento:将产品组信息移动到产品视图的底部
【发布时间】:2010-08-16 06:38:33
【问题描述】:

我正在尝试移动一个在 catalog.xml 文件中引用的块,但没有成功:

<PRODUCT_TYPE_grouped translate="label" module="catalog">
    <label>Catalog Product View (Grouped)</label>
    <reference name="product.info">
        <block type="catalog/product_view_type_grouped"   name="product.info.grouped" as="product_type_data"  template="catalog/product/view/type/grouped.phtml"/>
    </reference>
</PRODUCT_TYPE_grouped>

我想将“product.info.grouped”块移动到产品视图页面的底部(仅适用于分组产品)。我尝试将 after="-" 添加到块中,但没有任何反应。此块显示相关产品的表格,这些产品希望显示在媒体部分和其他信息下方。

【问题讨论】:

    标签: xml magento themes


    【解决方案1】:

    您是否尝试过在模板本身中移动它? Magento 页面上的 XML 层次结构似乎不适合这种切换,而布局 PHTML 文件则非常适合这种切换。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多