Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1039421

    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

    #1039445

    Hey tonydobrevski,

    Please provide a link to the site/page in question so we can look at this issue further.

    Best regards,
    Jordan Shannon

    #1045407

    Hi,

    This is the website. Thank you in advance!

    #1045491

    Hi,

    Add this to quick css;

    .cart_totals .paypal-button{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1045650

    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?

    #1046032

    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

    #1046296

    Hi Nikko,

    It works. I used both codes and now everything is hidden on the cart page.

    Thanks!

    Best,
    Anton

    #1046469

    Hi Anton,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1052535

    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;
    }
    • This reply was modified 5 years, 11 months ago by gymlelocal.
    #1052691

    Hi gymlelocal,

    Great, glad you got it working and thanks for sharing your solution.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.