• Resolved jakwalker

    (@jakwalker)


    There is a bug where if you select a different shipping method in cart the PayPal Buttons vanish unless you refresh the page. Tried on multiple themes and also disabled all Plugins accept WooCommerce and WooCommerce PayPal Payments and same issue persists!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @jakwalker,

    We are aware of this behavior and will address it in a future update with some other minor UI improvements.
    There is a potential workaround to prevent this behavior from happening with a filter (and a bit of CSS) by using a different WooCommerce hook to render the button:
    https://gist.github.com/InpsydeNiklas/df59583d363b02393fcfc88b1e2add89
    It depends a bit on the theme and is not the cleanest solution (since it needs CSS to reposition the button from the middle of the screen), but it could theoretically be used as a workaround until we had the chance to include a proper fix in a plugin update.

    Kind regards,
    Niklas

    Thread Starter jakwalker

    (@jakwalker)

    Hi Niklas,

    Thank you for your reply. Yeah I tried that solution however the PayPal Buttons were showing under everything and also on the empty cart as well.

    I’ve found that if you hook it to woocommerce_cart_collaterals it actually fixes the issue completely so all good for now thank you ??

    Kind Regards

    Jak

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @jakwalker,

    Thanks for the feedback.
    It all depends a bit on the theme, as the hooks could all be placed somewhat differently. But I’m glad to hear you found a solution that suits you, for now.
    The issue is supposed to be resolved sometime soon, but having the render hooks as a potential workaround caused it to have a fairly low priority for now, as some users are currently facing more critical issues.

    But there will be some minor UI improvements coming soon and we hope to include a fix for this then as well.
    For any further questions, don’t hesitate to reach out. Thanks!

    Kind regards,
    Niklas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The PayPal Buttons Disappear’ is closed to new replies.