• Resolved superkev2k9

    (@superkev2k9)


    Hello,

    I used the free version of “CartPops – High Converting Add To Cart Popup For WooCommerce” and I use Divi as WordPress theme and PayPal Payments for payment.

    I would like the PayPal button to be displayed on the product page. But this only works if the CartPop plugin is not active.

    If the CartPop plugin is active, you can only see the button once you have something in the cart.

    Does anyone know the problem and what to do?`

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

    (@niklasinpsyde)

    Hi @superkev2k9,

    I installed the CartPops plugin, but I can’t reproduce the behavior you describe. The button on single products loads with the CartPops plugin active regardless of whether there is a product in the cart. I don’t have a copy of the Divi theme though.
    Can you check if this problem persists for you with the Storefront theme?
    There is a known issue with certain page or theme builder plugins: https://woocommerce.com/document/woocommerce-paypal-payments/#faq-paypal-smart-buttons-not-loading
    The render hook filter from the documentation should usually help if the button doesn’t display on your product page.

    But if you could share a link to your site, this may also help us better understand the problem.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter superkev2k9

    (@superkev2k9)

    Hey,

    Thanks for the quick reply.

    I have the problem only in combination with Divi and Cartpop.

    If I use another theme, it works.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Thanks for checking!
    I will ask around if we can get access to the theme to perform some additional tests, since I’m not sure if we have a copy of it.

    But if it works with the regular Storefront, then may be worth to additionally reach out to Divi theme support to get more eyes on finding a solution to this theme-specific problem.
    We are aware of one ongoing compatibility issue with the Divi theme builder plugin that would cause the PayPal smart button on the single product page to be displaced. And this can be resolved with this filter:

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

    I don’t think this filter would make a difference in this case, though. So we will need to perform some more tests.

    Kind regards,
    Niklas

    Thread Starter superkev2k9

    (@superkev2k9)

    This filter I have used and also works, behabt but not the problem. Thanks for your help ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal Button on the product page’ is closed to new replies.