Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter smataste

    (@smtaste)

    Product page payment position adjustment (Theme botiga)

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @smtaste

    You can use this filter to display the PayPal buttons below the add to cart on the single product page:

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

    This code snippet must be added to the (child) theme’s functions.php file. If you don’t use a child theme yet, I recommend creating one for code snippets like the one above.

    The position can be individualized for every button, and here is a list of all available render hooks. I hope this helps!

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product page payment position adjustment’ is closed to new replies.