我需要按顺序在购物车页面中放置结账按钮
1) Proceed to checkout
2) Google checkout
3) Paypal Express
结帐.xml
里面
<checkout_cart_index>
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
<label>Payment Methods After Checkout Button</label>
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" as="testproceed" after="-" template="checkout/onepage/link.phtml"/>
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
</block>
googlecheckout.xml
<reference name="checkout.cart.methods">
<block type="googlecheckout/link" name="checkout.cart.methods.googlecheckout.bottom" after="testproceed" as="testgoogle" template="googlecheckout/link.phtml"/>
</reference>
贝宝.xml
<reference name="checkout.cart.methods">
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" as="testpaypal" after="testgoogle" template="paypal/express/shortcut.phtml">
<action method="setIsQuoteAllowed"><value>1</value></action>
<action method="setIsInCatalogProduct"><value>1</value></action>
<action method="setShowOrPosition"><value>before</value></action>
</block>
</reference>
但没有按照正确的顺序。
请帮忙..
我刚刚改变
<block type="paypal/express_shortcut" after="checkout.cart.methods.googlecheckout.bottom" name="checkout.cart.methods.paypal_express.bottom" template="paypal/express/shortcut.phtml">
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)