• Resolved immyali

    (@immyali)


    Hi i really hope someone can help.

    So I have just moved over to the new paypal payments plugin (previously used the paypal checkout plugin). The problem I am facing is that the paypal button on the single product page is not directly below the “add to cart” button (as it was in the paypal checkout plugin). It is now instead placed a little further down which doesn’t look right.

    Any help would be much appreciated.

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

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

    (@niklasinpsyde)

    Hi @immyali,

    Could you please give it a try with this filter?

    add_filter('woocommerce_paypal_payments_single_product_renderer_hook', function() {
        return 'woocommerce_after_add_to_cart_form';
    });

    https://gist.github.com/InpsydeNiklas/202837609318f9c0e827c382787147b0
    This snippet must be added to your theme’s functions.php file.
    We implemented these render hooks to display the button wherever you want on a given page but the theme is a deciding factor on which hooks are available and/or used by default. Documentation about this will follow soon but I hope this helps.
    Thanks!

    Kind regards,
    Niklas

Viewing 1 replies (of 1 total)
  • The topic ‘Paypal Button Single Product Page Incorrect Position’ is closed to new replies.