• Resolved dacman

    (@dacman)


    I am having an issue with Elementor Pro when activated as it does not allow the paypal buttons to be shown on the product page. I tried a number of fixes but came across the recommendation of the change to functions.php

    add_filter(‘woocommerce_paypal_payments_single_product_renderer_hook’, function() {
    return ‘woocommerce_after_add_to_cart_form’;
    });`

    This workaround works but please advise if the issue has been addressed since the recommendation comes from 12 months ago.

    dacman

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

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

    (@niklasinpsyde)

    Hi @dacman,

    The filter can still be used for this purpose as mentioned in this thread.

    This workaround works but please advise if the issue has been addressed since the recommendation comes from 12 months ago.

    The behavior is caused by the page builder not supporting all WooCommerce hooks, including the ones used by PayPal Payments to display the buttons. There is also an alternative workaround by creating a shortcode with the hook woocommerce_single_product_summary, but this involves more steps to resolve the problem compared to the PayPal Payments render hook filter.

    It hasn’t been prioritized yet, but the team is looking into eventually adding better out-of-the-box support for certain page builders, probably sometime in Q1.

    Kind regards,
    Niklas

    Thread Starter dacman

    (@dacman)

    Many thanks for the prompt response. We can close this ticket.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Payment option(s) not showing on product page’ is closed to new replies.