从签出页面删除paypal express签出单选按钮

从签出页面删除paypal express签出单选按钮,paypal,magento-1.4,magento-1.5,magento,Paypal,Magento 1.4,Magento 1.5,Magento,我的购物车页面和结帐页面中有paypal express结帐按钮。我想删除paypal express checkout单选按钮,仅从一页结账的付款信息步骤中删除 我已尝试从位于中的xml文件中删除以下代码 app/design/frontend/default/default/layout/paypal.xml <checkout_cart_index> <reference name=\"checkout.cart.top_methods\">

我的购物车页面和结帐页面中有paypal express结帐按钮。我想删除paypal express checkout单选按钮,仅从一页结账的付款信息步骤中删除

我已尝试从位于中的xml文件中删除以下代码

app/design/frontend/default/default/layout/paypal.xml

<checkout_cart_index>
    <reference name=\"checkout.cart.top_methods\">
        <block type=\"paypal/express_shortcut\" name=\"checkout.cart.methods.paypal_express\" template=\"paypal/express/shortcut.phtml\"/>
    </reference>

    <reference name=\"checkout.cart.methods\">
        <block type=\"paypal/express_shortcut\" name=\"checkout.cart.methods.paypal_express\" template=\"paypal/express/shortcut.phtml\"/>
    </reference>
</checkout_cart_index> 


但它不起作用。你知道怎么做吗

能否刷新magento缓存并再次检查。

您正在编辑签出购物车索引-意味着您正在从购物车中删除按钮。 您可以使用css和对模板/checkout/onepage/payment/methods.phtml的一些修改来实现这一点: 改变

<dt> 
<dt class="<?php echo $_code; ?>"> 
<dd>
<dd class="<?php echo $_code; ?>">
.sp-methods .paypal_express { display:none; }