Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更改Magento中签出按钮的显示顺序_Magento_Shopping Cart - Fatal编程技术网

更改Magento中签出按钮的显示顺序

更改Magento中签出按钮的显示顺序,magento,shopping-cart,Magento,Shopping Cart,我需要在购物车页面按顺序放置结账按钮 1) Proceed to checkout 2) Google checkout 3) Paypal Express checkout.xml 里面 结帐后付款方式按钮 googlecheckout.xml <reference name="checkout.cart.methods"> <block type="googlecheckout/link" name="checkout.cart.meth

我需要在购物车页面按顺序放置结账按钮

1) Proceed to checkout 
2) Google checkout 
3) Paypal Express
checkout.xml 里面


结帐后付款方式按钮
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>

paypal.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>

1.
1.
之前
但顺序不正确。 请帮忙我刚换了零钱

      <block type="paypal/express_shortcut" after="checkout.cart.methods.googlecheckout.bottom"  name="checkout.cart.methods.paypal_express.bottom"  template="paypal/express/shortcut.phtml">

      <block type="paypal/express_shortcut" after="checkout.cart.methods.googlecheckout.bottom"  name="checkout.cart.methods.paypal_express.bottom"  template="paypal/express/shortcut.phtml">