Hi,
I am using Braintree for my website and since few updates, there is the option to pay while you are on the cart page – (or checkout with….)
How can I remove it from the cart page and leave it only on the checkout page?
Thank you in advance!
Best,
Anton
Hey tonydobrevski,
Please provide a link to the site/page in question so we can look at this issue further.
Best regards,
Jordan Shannon
Hi,
This is the website. Thank you in advance!
Hi,
Add this to quick css;
.cart_totals .paypal-button{
display:none!important;
}
Best regards,
Jordan Shannon
Hi Jordan,
This works for the buttons, however, there is still the text
“— or —
I have read and agree to the website terms and conditions *”
How can I remove also the text?
Hi tonydobrevski,
Try adding this css code as well:
.cart_totals p.paypal-text,
.cart_totals .woocommerce-terms-and-conditions-wrapper {
display: none;
}
Best regards,
Nikko
Hi Nikko,
It works. I used both codes and now everything is hidden on the cart page.
Thanks!
Best,
Anton
Hi Anton,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria
Heya,
Sorry to bump this thread but I’m having the exact same problem. The PayPal button was hidden with the first code snippet, but even though I’ve added Nikko’s code the –or– line still appears!
Thanks
edit: FIXED, but in case someone else comes across this problem, found the solution in another thread.
#top.woocommerce-cart .wc-proceed-to-checkout .wcppec-checkout-buttons__separator {
display: none;
}