• Resolved jzr00

    (@jzr00)


    Does anyone know how to remove the PayPal button from the WooCommerce Cart Drop down as per the image below

    PayPal WooCommerce plugin: woocommerce-gateway-paypal-express-checkout.2.1.1.zip

    paypal-cart-drop-down

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Senff – a11n

    (@senff)

    Hey @jzr00

    The functionality to show the cart in a dropdown (including the Paypal button) is not something that is included with WooCommerce itself, so that’s likely coming from a plugin or from your theme.

    You can remove the button with some custom CSS code, but for that we’ll need to see your site. Can you share a link so we can take a look?

    Thread Starter jzr00

    (@jzr00)

    Thanks for the reply Senff.

    I’ve duplicated the website, and the test website does not show that button. I don’t have any caching going on.

    You can see the original site (with the issue) here: https://bit.ly/3r0DJ5R

    melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    Hi there!

    >I’ve duplicated the website, and the test website does not show that button. I don’t have any caching going on.

    Did you disable any plugins or change your theme on the test site? If so, then you’d want to reach out to your theme developer or any plugin developer that is adding that dropdown cart. As Senff mentioned, this is not something that WooCommerce core or PayPal adds in.

    Thread Starter jzr00

    (@jzr00)

    Hi Melinda,

    On my production site I have disabled every plugin except for:
    – WooCommerce (automattic)
    – WooCommerce Subscriptions (WooCommerce)
    – WooCommerce PayPal Checkout Gateway (WooCommerce)

    The PayPal button under the WC cart still appears. (as pictured in my first post).

    I then disable WooCommerce PayPal Checkout Gateway & the PayPal button disappears from the cart drop down.

    There’s no option in WooCommerce PayPal Checkout Gateway settings to disable this button from appearing in cart, so I think some custom css may need to be used.

    If anyone could help with that code, I would be grateful.

    Rambo

    (@rahul020691)

    Hi @jzr00,

    >If anyone could help with that code, I would be grateful.

    Paste the CSS snippet into your Customizer’s Additional CSS tab:

    
    /* Remove the PayPal button from the WooCommerce Mini Cart Drop down */
    .wcppec-cart-widget-spb {
    display: none;
    }
    

    This code will help you remove the PayPal button from the WooCommerce Cart Drop down.

    Thread Starter jzr00

    (@jzr00)

    Thank you Rahul, that works perfectly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove PayPal icon from the WooCommerce Cart Drop Down’ is closed to new replies.