• Resolved DolphinGuy

    (@sanyadolpins)


    Hi Support,

    Why on earth do you need to load the PayPal link on every product page, when the customer has not even clicked the Add to Cart button?

    This is incredibly stupid as the PayPal link is very slow connecting to PayPal and slows down every product page.

    Please only load the PayPal link in the shopping cart or checkout.

    Respectfully,
    DolphinGuy

    • This topic was modified 2 years, 8 months ago by DolphinGuy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @sanyadolpins,

    load the PayPal link on every product page, when the customer has not even clicked the Add to Cart button

    Why would the scripts be loaded on the single product page only after the buyer clicks the button? Can you elaborate?

    The PayPal scripts are loaded only on all pages with enabled smart buttons. If the button is enabled on the single product page, the scripts will be loaded for every product page.
    Also, when the button for the Mini Cart is enabled, the scripts will be loaded on all non-Checkout pages of the site.
    Disabling the Mini Cart button prevents the scripts from being loaded on the above-mentioned pages: https://woocommerce.com/document/woocommerce-paypal-payments/#faq-paypal-scripts-on-every-page

    If you want to only load the PayPal scripts on the Cart and Checkout pages, then the way to achieve this is to enable only these two pages in the plugin settings.

    Kind regards,
    Niklas

    Thread Starter DolphinGuy

    (@sanyadolpins)

    Niklas.

    Perfect! Worked!

    I don’t use Mini Cart, but it was enabled. So, just disabling it, as you indicated, fixed the problem.

    Thanks,
    Dolphin Guy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paypal link hangs (((slows down load time – a lot))) on all product pages!!!’ is closed to new replies.