• Resolved Suveena

    (@suveena)


    How to add the pay later message below the product price. Any customization in code are there?

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

    (@niklasinpsyde)

    Hi @suveena

    First, please ensure the Pay Later messaging is enabled for the single product page in the Pay Later tab. Where the buttons/messaging are displayed depends on your theme, but you could modify the default position on the single product page with a filter like this:

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

    This filter must be added to the functions.php file of your child theme.

    At this time, both the buttons and the messaging use the same render hook, but two different divs. So beyond modifying the render hook, minor adjustments may also be possible to achieve with custom CSS. But it depends on what exactly you are looking for.

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    We have not heard back from you in a while, so I’m marking this thread as resolved.
    Hopefully, the above information helped you out.
    If you have any further questions, please feel free to reopen this topic or create a new one.

    Thanks!

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add the pay later message below the product price’ is closed to new replies.