Hi,
I am currently trying to implement PayPal Pay Later messaging on the product page(using single page builder). However, I am encountering an issue that seems related to how the theme handles hooks.
The PayPal support team provided the following information:
The behaviour is likely due to custom variations in how hooks are implemented in your theme. The provided snippet works seamlessly with regular WooCommerce themes, but custom themes can require adjustments to ensure compatibility.
They suggested that the correct hook location for the add_filter(‘woocommerce_paypal_payments_single_product_renderer_hook’, function() { … } function needs to be determined. This would ensure that the messaging appears correctly on the product page. Ideally i would like to be able to add the messaging where i choose on the product page. At the moment I’ve noticed that it attaches itself to the ‘Add to wishlist’ button, so will always be beneath that.
Would you be able to assist in identifying the appropriate hook or guide me on how this can be implemented within the theme?
Thank you.