Stop Cart Fragments on WooCommerce
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/
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.
Let’s figure it out together
You don’t have to
build alone.
A little guidance. A good conversation. A better next step.
Start with a 20-minute call. I read every enquiry myself.



