• Resolved mvakbar

    (@mvakbar)


    I am trying to use the Asset CleanUP to prevent WooCommerce plugins be loaded on my home page because I don’t need them there. I can see most of the plugins to select but my WooCommerce Affirm Gateway does not show up in the list of plugin to select, but if you run pagespeed you will see the calls to Affirm are the main culprits on my home page. When I disable this plugin my pagespeed score significantly jumps up.

    PageSpeed Insights (web.dev)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mvakbar

    (@mvakbar)

    To further clarify, we are using the following WooCommerce plugins:

    WooCommerce

    WooCommerce Affirm Gateway

    WooCommerce Payments

    WooCommerce PayPal Payments

    We need to prevent these calls to be made from our home page which does not have a store.

    When I use Asset CleanuUp plugin to specify the plugin codes to unload, WooCommerce Affirm Gateway is not presented in the Asset CleanUp CSS & Java Script Manager / Page Options.

    The other three plugins showed up. We have set them as unload and that has helped.

    But WooCommerce Affirm Gateway does not show up in Asset CleanUp Manager / Page Options so we can not set them as unload.

    Plugin Author Gabe Livan

    (@gabelivan)

    @mvakbar if there’s no CSS/JS enqueued from “WooCommerce Affirm Gateway”, then the plugin will not show with its assets (which are none in this case) in the following area: “Asset CleanUp CSS & Java Script Manager / Page Options”. I’ve noticed the plugin has a hardcoded SCRIPT tag (search for “_affirm_config” in the HTML source code of the website and you will notice it) and it can be unloaded (if you have to), but you need the Pro version for this as it’s a hardcoded SCRIPT, not a standard enqueued one.

    Also, in “Plugins Manager” (Pro feature), you will notice the plugin loaded. If you believe it uses too much resources because it’s loaded on specific pages, you can go Pro and unload the whole plugin from those pages. There’s a money back guarantee policy and you can request a refund if the plugin doesn’t suit your needs.

    Thread Starter mvakbar

    (@mvakbar)

    Thank you for your advice. We did upgrade to the Pro version and were able to accomplish our goal. So Affirm Gateway is not loaded and it significantly improved our score for mobile.

    One minor question. I now have two versions of Asset CleanUp plugins active, the lite one as well as the pro. Should I deactivate the lite version?

    • This reply was modified 2 years, 2 months ago by mvakbar.
    Plugin Author Gabe Livan

    (@gabelivan)

    @mvakbar I’m glad that your goal is reached! As for keeping both plugins activated, this is not necessary because the Pro version is independent.

    Thread Starter mvakbar

    (@mvakbar)

    Thank you for clarifying that. Some of the plugins we marked on our home page as unload goes back to the time when we only had the Lite version. I assume by deactivating the Lite version and keeping the Pro version those settings we set while we had the Lite will not be reset right?

    Also, I will be using SiteGround migrator to copy our site to our test site for some code upgrades. Do I need to deactivate, remove your plugin from the test site, or leave it alone to be in licensing compliance?

    Plugin Author Gabe Livan

    (@gabelivan)

    @mvakbar the settings you already applied will be preserved when you deactivate the Lite version and I would advise you to de-activate and re-activate the license within the “License” page after you’ve done the sync from “Live” to “Test” because the system has to be refreshed to know that a new domain is in use. I’ve left you a reply about that privately.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce affirm gateway plugin does not show in the list’ is closed to new replies.