wc-get refreshed fragments loading on all pages

Posted in: Newspaper
Post count: 4

Hi,

Is there a way to prevent wc-get refreshed fragments from loading on non woo commerce pages?

For example, all of my posts and my home page loads this for every single hit.

I’ve found a couple of code snippets online. However, each time i add them to the functions.php file they result in an error.

Any help with this would appreciated.

Thanks.

Post count: 23312

Hello TCPaul,

Please try the method which is explained in the following topic here -> https://wordimpress.com/how-to-load-woocommerce-scripts-and-styles-only-in-shop/ Also, if it will be useful for you, you can check and here -> https://github.com/woothemes/woocommerce/issues/7777 https://docs.woocommerce.com/document/conditional-tags/ You will have to do it yourself all these implementations because we cannot provide custom services at the moment, sorry! Please notice that we only guide you in the right direction.

Thanks for your understanding!

Post count: 4

Hi Catalln,

Thank you for your suggestions, that’s really helpful.

It’s okay, i realise that this is a DIY job 🙂

Thank you again,

Paul

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.