• Resolved ucarmetin

    (@ucarmetin)


    Hi!
    In v2.0.5 the buttons were big and bold (see below).

    However in v2.1.0 the buttons are tiny (see below).

    We do not have any custom styling for buttons or payment providers. There is no caching issue as the second screenshot is taken from local dev environment. Also, we’ve disabled / enabled plugin and tested with different settings in plugin.

    Any idea why this is happening and how to solve it?

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

    (@niklasinpsyde)

    Hi @ucarmetin

    The change in button size you’re experiencing with version 2.1.0 of the plugin is most likely due to an update we made to enhance compatibility with certain page builders, including Elementor Pro. The update modifies the default render hooks on the single product page and the Checkout page.

    However, as it turns out, this update can cause unintended side effects in some scenarios. Specifically, if a page builder isn’t being used for a custom checkout page and the active theme doesn’t support all WooCommerce hooks, this can lead to similar issues to what you’re experiencing.

    To temporarily resolve this, you can use the following filter to restore the default behavior:

    add_filter('woocommerce_paypal_payments_checkout_button_renderer_hook', function() {
        return 'woocommerce_review_order_after_payment';
    });

    Please note that we’ve recognized this problem and have decided to revert this change in the next update. After that, users with a custom Checkout page created through a page builder might need to apply a manual fix.

    The team is always looking for the right balance, but the button rendering can occasionally present issues due to the wide variety of themes and page builders.
    I hope this helps!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    The next update should resolve this behavior and will be released early next week. In the meantime, a pre-release version is available here on Github.

    Also, I’d like to mention that the team is actively working on a solution for the issue with the disabled checkout gateway you previously reported. So I hope this will make it into the plugin within the next one or two updates after the upcoming one.

    In any case, as the solution should hopefully be clear, I’ll mark this thread as resolved. For any further questions, please create a new thread. Thanks!

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The change in button sizes’ is closed to new replies.