Hi,
I still want customers to be able to choose ‘PayPal’ option once they are through to checkout pages, but turn it off here at the cart page only.
How do I turn off the PayPal Express button at my cart page?
My website is www.quiztrail.co.uk
Thank you.
I am not sure from where it is coming. There can be an option to disable it from the app or settings.
However, if you can do it with CSS I found a solution. I would suggest you create a duplicate theme before you make more changes to the theme.
Here are the steps to find the CSS file in the theme :
Go to Online Store > Themes, find the theme that you are working on, then click on Actions > Edit Code.
Now it depends on the theme but in most cases, there is base.css file where you can add the below code at the end
#zoid-paypal-button-8b3eef41e1.paypal-button-size-responsive {
display: none;
}
Output :
Thanks
Hi there,
Thank you for your reply.
I don’t seem to have a base.css in my theme code - is there somewhere else I can paste this code to hide the button?
Thank you.
Hello @quiztrail
You can also add the code at the end of theme.scss.liquid file.
Please take the backup of your theme before you make any changes
Hi SaaSEnthu,
I don’t have a theme.scss.liquid file so tried to add it to theme.css, but it doesn’t seem to have worked.
I have Debut theme so should I insert the code somewhere else?
Thank you.