我用于小部件布局的 xml 代码是这样的:
<reference name="left">
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<block type="core/text_list" name="left.permanent.callout" template="callouts/left_col.phtml">
<!--<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>-->
<block type="cms/block" name="left_callout">
<action method="setBlockId"><block_id>left_callout</block_id></action>
</block>
<action method="setLinkUrl"><url>checkout/cart</url></action>
</block>
</reference>
我得到的相应输出是产品显示在菜单下方和产品上方。我希望最近查看的产品小部件位于主要产品下方,如果可能的话,位于“您可能还喜欢”部分下方。页面布局为1列布局。请帮忙。该怎么办????