How can I remove the PayPal Express button from the checkout page?

teimim
Tourist
22 0 2

Is there a way to remove the paypal express button from checkout page ?

 

Replies 21 (21)

gseilei
Shopify Expert
235 28 44

you have to deactivate paypal express as a payment option: https://help.shopify.com/en/manual/payments/paypal/set-up-paypal

 

or if you want to use paypal as payment option in other places of your store, you will have the add the additional checkout buttons to the cart page, then they'll disappear from the checkout, however by doing this, others i.e. gpay, apple pay, etc will disappear too. Here is how to do it: https://shopify.dev/tutorials/customize-theme-add-more-checkout-buttons-to-cart-page

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

Thanks

I want to be able to use paypal in final checkout payment . 
Just the express button is very confusing when it appears on the first checkout page and I would like it to be removed only from there

 

gseilei
Shopify Expert
235 28 44
By first checkout page, you mean the cart page? If so, you can delete or deactivate the additional payment buttons from your code in the cart.liquid page
We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2
Referring to this page

[Image.png]
stevenesy
New Member
4 0 0

Hi, I have the same question. But whatever I try at the cart.liquid page, the Express Checkout keeps appearing. I just would like to get rid of the Express Checkout options in the 'Information step' during checkout. What do I need to delete?

 

See:

expresscheckout.jpg

gseilei
Shopify Expert
235 28 44

If you add the additional payment types in the cart.liquid, they should disappear from checkout. Try deleting the cache of your browser when doing this and refreshing the checkout page (sometimes that makes issues) or in an incognito window after doing the change. That should help!

 

Let me know how it goes!

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

Not sure I understand 

Do I need to add this code to cart-template.liquid :

{% if additional_checkout_buttons %} <div class="additional-checkout-buttons"> {{ content_for_additional_checkout_buttons }} </div> {% endif %}

to make the button disappear ?

 

Either way , cart-template is not "checkout" page. I don't have any problem at cart page.

The problem is that paypal express appears in checkout page 

gseilei
Shopify Expert
235 28 44

yes, you have to add it to the cart.liquid page. Then it should disappear from the checkout

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

Ok,

 

I added it and indeed - paypal express does not appear any more in checkout page.

But now - it appears on cart page ...

 

express.JPG

gseilei
Shopify Expert
235 28 44

yes, if you want to remove it completely, you will have to deactivate it as a payment option in your settings -> Payment Providers -> Edit (in the PayPal section -> Deactivate

 

 

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

But I do want to keep paypal option at final checkout stage.

If I remove it , I won't have PayPal at all will I ?

Also , checked on mobile , with this code - paypal express is still showing ...

 

gseilei
Shopify Expert
235 28 44

The only way to keep paypal as payment method in the checkout would be to have it available as a payment option and displayed as a express checkout. If you are not in Shopify Plus you are not able to do changes on the checkout.liquid.

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

I see . So it's either on the cart page or checkout page.

Is there a way to use your code and after just use "hide" somehow ?

gseilei
Shopify Expert
235 28 44

Im not sure I understand what you really want 🙂 I though you want to display paypal as a payment option in the checkout page, isn't it? Then you don't need that code on the cart.liquid. If the problem is with having paypal express on the checkout, but you want to offer the paypal option as a manual payment method, you can add it. That would require some manual process on your end to confirm payments, but it is another option. Check this out: https://help.shopify.com/en/manual/payments/manual-payments

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

Once I add Paypal to my payment options , 

I get payPal express option on the page attached.

 

I want to remove it but still have an option to pay pay pal at the end of checkout

 

 

gseilei
Shopify Expert
235 28 44

Yes, you will have to deactivate paypal express as payment method on your settings and add paypal as a manual payment method (check out my last comment). 

 

With manual payments you have to capture the payments externally and manually, if you have a high volume, it will be hard to manage.

We help you achieve your Goals! Visit us on: Webmefy.com
teimim
Tourist
22 0 2

I appreciate your help but I can't add paypal in any other way than adding the only option Shopify provide.

It's either paypal express(which adds both - express option and paypal at final payment stage of the checkout) or just other payment providers but PayPal is not on that list.

It means that if I de-activate paypal express - all paypal options disappear from my store.

gseilei
Shopify Expert
235 28 44

Yes, paypal will disappear, and will have to be added manually using the manual payment methods: https://help.shopify.com/en/manual/payments/manual-payments

We help you achieve your Goals! Visit us on: Webmefy.com
stevenesy
New Member
4 0 0

Same here, the Express Checkout appears in the step 'Information', there is no problem at the cart page.

None of the instructions work, I tried deleting the cache and another browser. Also, I can not find a class "additional-checkout-buttons" anywhere in the css. So there is something missing.

 

I just want to get rid of Express Checkout. What am I missing?

 

 

soulchild37
Shopify Partner
166 9 46

Hi Teimim, Stevenesy and others,

It seems like since mid of 2022,  the liquid / CSS code to hide the checkout button does not work anymore. To hide the express checkout payment method, you will need an app that utilize Shopify Functions. (a way for an app to communicate with Shopify to remove certain payment methods)


I have made an app to hide the Paypal Express (and other express checkout method like Apple Pay, Google Pay etc) on the top part of checkout page, and customer can still select Paypal method at the payment step.  

soulchild37_0-1692812165399.gif

 

 


1select_paypal.png

The app is made using native Shopify Functions, thus it does not affect your store existing layout or functionality at all. You don't need to be on Shopify Plus plan to use the app, your store can be on any Shopify Plan.

The app name is Yagi Express Payment Hider (https://apps.shopify.com/yagi-express-payment-hider)

The app also have a workaround which you can hide the express checkout buttons for returning customers with saved address, but you will need to create a placeholder shipping rate for it to work, this will also work with one-page checkout.

Hope this can help!

Regards,

Axel Kee

Spent too much support time dealing with order cancellation request from customer? Wouldn't it be good if customer can cancel order on their own without bugging your support? Try out Cancellable app! https://apps.shopify.com/cancellable . I also write articles about store customization that can improve your customer shopping experience here : Yagi Software Blog

AlexHeard
Shopify Partner
32 0 0

Removing the PayPal Express button from the checkout page is very easy using the PayRules: Hide Payment Methods app now.

 

Just add a rule and enable the toggle button of the PayPal Express Checkout option like the screenshot below and PayPal Express button will be hidden in the checkout page.

 

paypal-express.png