How to Speed up your WooCommerce store

Getting rid of unneeded WooCommerce scripts

If you remember we mentioned earlier that WooCommerce could be developed better.. well one of the things that we hate is that it includes a plethora of scripts and styles on pages that don’t even have WooCommerce. Let’s fix this with some code ūüôā . All you need to do it paste this at the end of your functions.php¬†that’s located inside your theme folder. This will even get you a better score on tools like Pingdom

You might want to comment out wp-cart¬†part if you have a theme that uses ajax cart and it’s on every page. Here is a method by the way on how to add cart icon to your top nav.

If you don’t have time to do the above (or don’t know how), use the Selective Plugin method below.

Use selective plugin loading to increase overall speed

We know you should keep the amount of plugins you use on your site to a minimum, however sometimes that’s just not possible.
Use free¬†Plugin Performance Profiler to see which plugin sucks up the speed out of your site (don’t forget to turn it off when done).

Of course the main issue with the plugins is that they love to load their scripts and stylesheets on all your pages. WooCommerce above is a great example. Most of the time however you end up using a plugin only on a single page or maybe only on a specific section of the site. This is where Plugin Organizer comes to the rescue. It may look like 3 year old designed it but it’s an amazing plugin that lets you disable, enable and selectively load plugins based on pages and parts of your site.


Once you have it installed go to settings and check each post type and select what plugins you want to be loaded. You can also go to each page and override what you have selected. If you migrate a site make sure you go to settings and click Recreate Permalinks tab and update your url otherwise all your settings will be gone after migration.

That’s about it! Let us know if you think we missed something.