[Supply Theme]How to remove 'Check Out with PayPal' button at the checkout page?

Shopify Expert
5 0 0

I tried the codes above, it doesnt work, so I modified it. This one works for me

document.getElementsByClassName("alt-payment-list-container")[0].style.display = "none";
document.getElementsByClassName("alternative-payment-separator")[0].style.display = "none";

0 Likes
New Member
3 0 0

Thank you very much miloman18

0 Likes
Highlighted
Tourist
8 0 3

The code used to work for me for a couple of years and it has recently stopped working and the Paypal button has reappeared (along with Apple and Google Pay).

Has Shopify made changes to circumvent the above fix?

Are there any other solutions at present or new code?

0 Likes