I am trying to make it so PayPal is the only option the purchase products, how do I remove the 'Proceed to Checkout' button so this is the only option?

enter image description here

Thanks in advance.

  • 1
    your magento version Jul 14, 2017 at 10:04

4 Answers 4


if you want to know in which file you need to hide the text "Proceed to checkout" , you can use Magento template path hints here : system> configuration > Advanced > Developer ....

than switch to current store under Current configuration scope

than enable template path hints under Debug , than you can see from which file the text "Proceed to checkout" is coming from....

you can see below links for more information :




There is no such feature to disable 'Proceed to Checkout' button from admin so here are few ways you can disable it

Comment/Remove this code from /public_html/app/design/frontend/VENDOR/THEME/Magento_Checkout/templates/onepage/link.phtml:

<button type="button"
        title="<?php /* @escapeNotVerified */ echo __('Proceed to Checkout') ?>"
        data-mage-init='{"Magento_Checkout/js/proceed-to-checkout":{"checkoutUrl":"<?php /* @escapeNotVerified */ echo $block->getCheckoutUrl(); ?>"}}'
        class="action primary checkout<?php echo($block->isDisabled()) ? ' disabled' : ''; ?>"
        <?php if ($block->isDisabled()):?>disabled="disabled"<?php endif; ?>>
    <span><?php /* @escapeNotVerified */ echo __('Proceed to Checkout') ?></span>

Another way to remove from layout. Try above if it work for you.


Please check checkout.xml file intoyour theme

 <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" template="checkout/onepage/link.phtml"/>
                <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>

comment this code and check it.


Create your local.xml file in your theme and put this code

 <?xml version="1.0"?>
 <layout version="0.1.0">
    <reference name="content">            
        <remove name="checkout.cart.top_methods"/>
        <remove name="checkout.cart.methods"/>
    <reference name="checkout.cart">
        <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" as="top_methods_only_paypal" template="paypal/express/shortcut.phtml">
            <action method="setIsQuoteAllowed"><value>1</value></action>


and then add <?php echo $this->getChildHtml("top_methods_only_paypal");?> to your your_theme/template/checkout/cart.phtml.

Clear chache and refresh.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.