Skip to content

Stop Cart Fragments on WooCommerce

Jun 2017·1:43·2,631 views·Matt Knighton

Walkthrough Overview

About This Video Guide

When you are optimising a landing page for speed and using WooCommerce you may find you want to disable cart fragments.

In this video we show you how to do this.

To get the code snippet visit the mrkwp blog article here:

https://www.mrkwp.com/2017/06/how-to-video-stop-cart-fragments-loading-on-your-home-page/

This will generally give you a 1 or 2 second speed improvement - depending on your hosting setup.

Total page speed load time is what matters on your landing pages so getting on top of this will save you loads of time on those important landing pages.

Remember, if you are using ajax add to cart methods on the page you should not disable the cart fragments on that specific page.

For other tweaks a WordPress plugins for Divi checkout https://www.mrkwp.com/blog/

Read the article7 Ways to Make Your WooCommerce Website Faster

Core Focus Areas

  • 1Practical, production-tested techniques tailored for WordPress and modern tooling.
  • 2Stripping away fragile dependencies so your site stays fast and resilient.
  • 3Workflows structured so your internal team can maintain and own them long-term.

More Practical Walkthroughs

Explore step-by-step video tutorials and technical walkthroughs.

View all videos ↗
Using Gemini Nano Banana to Match a colour profile without degredation.
4:31
Apr 2026 · 38 views

Using Gemini Nano Banana to Match a colour profile without degredation.

4:31Watch Video
Fix ChatGPT Emoji not saving in WordPress
3:22
Mar 2025 · 510 views

Fix ChatGPT Emoji not saving in WordPress

3:22Watch Video
Have Multiple Sidebars in WordPress with Elements and Kadence Pro
8:27
Feb 2025 · 555 views

Have Multiple Sidebars in WordPress with Elements and Kadence Pro

8:27Watch Video

Let’s figure it out together

You don’t have to build alone.

A little guidance. A good conversation. A better next step.

Work with me

Start with a 20-minute call. I read every enquiry myself.