1
我试图将'最近查看产品'区块移动到右边栏'比较产品'区块下方。我已经通过以下包含在local.xml中来实现此目的,但是,产品查看块现在出现了两次,原始文件仍位于顶部。我该如何编码xml才能将顶部发送到底部,而不是像我所做的那样进行复制?如何在Magento中更改产品比较和查看区域的顺序?
<reference name="right">
<!-- Mage_Reports -->
<block type="reports/product_compared" name="right.reports.product.compared" template="reports/product_compared.phtml" after="-">
<action method="setBlockId"><block_id>product_compared</block_id></action>
</block>
<block type="reports/product_viewed" name="right.reports.product.viewed" template="reports/product_viewed.phtml" after="-">
<action method="setBlockId"><block_id>product_viewed</block_id></action>
</block>
</reference>