• Resolved Ampersand Factory

    (@ampersandfactory)


    Hi,

    PayPal Express Checkout Button is not showing on Mini Cart and Cart Page, I have tested all possible settings in PayPal Express configuration but I always see empty space instead of PayPal button in mini cart, as you can see in next source code:

    <div class="widget_shopping_cart_content">
    <ul class="cart_list product_list_widget ">...</ul>
    <div class="total clearfix">...</div>
    <div class="buttons clearfix">...</div>
    <p class="woocommerce-mini-cart__buttons buttons wcppec-cart-widget-spb">
    <span id="woo_pp_ec_button_mini_cart"></span>
    </p>

    I’ve also updated and disabled all plugins with no luck.

    Please help. Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there @ampersandfactory,

    I’m sorry to hear that you’re having issues with PayPal button!

    The issue

    Indeed, I don’t see the PayPal button in your Mini cart: https://cld.wthms.co/8QSST8

    Neither I see it on your cart page – https://cld.wthms.co/YB9Pg9

    My test site

    The button is there on my test site with Storefront theme as active:

    Mini cart – https://cld.wthms.co/PGlFe9
    Cart page – https://cld.wthms.co/Ma8LBP

    This makes me think that the issue is coming from your theme. Can you please switch your theme to Storefront and check if the issue persists?

    Please let us know how that goes!

    Cheers!

    Thread Starter Ampersand Factory

    (@ampersandfactory)

    Hi,

    Effectively the buttons work with Storefront, but when I use my theme, the PayPal plugin is really adding part of its code to the minicart as you can see:

    <p class=”woocommerce-mini-cart__buttons buttons wcppec-cart-widget-spb”>
    <span id=”woo_pp_ec_button_mini_cart”></span>

    Therefore the existing hook in the theme template is working but there is a problem when inserting the buttons.

    Thanks.

    Hi there @ampersandfactory,

    It does look like PayPal Checkout and your third-party theme create a code conflict together. I’m glad we narrowed it down!

    At this point, I’d either recommend checking with your theme developer to get it fixed.

    I’m also going to leave the thread open for a bit to see if anyone is able to chime in to help you out with the code.

    I can also recommend the following places for more development-oriented questions:

    1. WooCommerce Slack Community: https://woocommerce.com/community-slack/
    2. Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/

    Cheers!

    Hi there @ampersandfactory,

    The thread was inactive for a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal Express Checkout Button not showing on Mini Cart and Cart Page’ is closed to new replies.