Remove plugin js file from homepage

[ad_1]

Hi @kiralikbeyin

Which JS file are you referring to?

Kind Regards

Google pagespeed suggested shrinking this unused js file.
1,141.8 KiB

There are too many errors in the console.. pictures are attached.

Hi @kiralikbeyin

The js.stripe.com script is the only Stripe script that this plugin loads. All of the other scripts in your screenshot are being loaded by Stripe from the js.stripe.com script. We can’t control what external scripts Stripe determines it needs to load.

The Stripe script will only load on pages where you have payments enabled. If you have any of the the payment methods enabled for a mini-cart or side cart, then that is why Stripe is loading on your homepage.

There are too many errors in the console

Those script fetch errors are coming from Stripe and not our plugin, but they won’t have any affect on your ability to accept payments.

Kind Regards

I removed google pay and apple pay from mini cart and now everything is perfect. Thanks a lot!

@kiralikbeyin You’re welcome. We always appreciate a good review of the plugin if you have a moment.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer