【发布时间】:2014-12-10 12:12:02
【问题描述】:
我正在使用 magento 1.7
在我的产品页面上,我在右侧边栏添加了相关产品。
侧边栏上还显示了其他块
-相关产品 -最近浏览的产品 -我的车 -贝宝标志
现在我想在 mycart 和 paypal 标志之后显示相关产品,现在它显示在右侧栏的顶部
我之前和之后都用过,但那不起作用。
这是我的代码
paypal.xml
<reference name="right">
<block type="paypal/logo" name="paypal.partner.right.logo" after="cart_sidebar" template="paypal/partner/logo.phtml"/>
</reference>
目录.xml
<reference name="right">
<block type="catalog/product_list_related" name="catalog.product.related" after="paypal.partner.right.logo" template="catalog/product/list/related.phtml"/>
</reference>
checkout.xml
<reference name="right">
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
<label>Shopping Cart Sidebar Extra Actions</label>
</block>
</block>
如何将 mycart 和 paypal 徽标放在右侧栏的顶部。
【问题讨论】:
标签: magento magento-1.7