🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Disable Cart Fragments by Optimocha icon
Slowing down Tested up to 6.8.13 #1 in cart fragments

Disable Cart Fragments by Optimocha

A better way to disable WooCommerce's cart fragments script, and re-enqueue it when the cart is updated. Works with all caching plugins.

Active installs10K+10K+ tier
Downloads · 30d1.3K▲ +17.5% vs prev. 30d
Rating4.9/516 reviews
Health score51/100Fair
All-time downloads141.8KSince May 2019
Support resolved—No recent threads
RequiresWP 4.6PHP 5.6+
Downloads · 7d345▲ +9.9% week over week
Our verdict

Use with caution

Disable Cart Fragments by Optim… works, but test it on a staging site before relying on it in 2026. It runs on 10K+ sites, is rated 4.9/5 and was last updated 1 year ago, and scores 51/100 on our health check.

  • Proven at scale on 10K+ active sites
  • Momentum — downloads up 17.5% vs the previous 30 days
  • No update in over a year
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

255075Sep 6Oct 20Dec 4
Yesterday57
Daily average (1y)33
Peak day101Dec 2, 2026
Last 12 months12.1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Disable Cart Fragments by O… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cart fragments #1 324 Best cart fragments plugins →
disable cart fragments #1 163 Best disable cart fragments plugins →
woocommerce >100 10,000 Best woocommerce plugins →
woocommerce cart fragments #5 316 Best woocommerce cart fragments plugins →

Version adoption

Share of active sites per release.

  • 2.483.2%
  • 2.310.6%
  • Other6.2%

Rating breakdown

★★★★★★★★★★ 4.9 from 16 reviews

  • 5★93.8%
  • 4★0.00%
  • 3★6.3%
  • 2★0.00%
  • 1★0.00%

About Disable Cart Fragments by Optimocha

From the official readme · v2.4.1

Description

Disable Cart Fragments is a lightweight plugin which effectively speeds up your WooCommerce website by disabling the cart fragments script. It also enqueues the script back when the cart is not empty anymore; so it only works while the cart is empty.

Why is disabling cart fragments important?

WooCommerce makes an AJAX request to check your cart and update your cart totals in wherever your theme shows cart contents (like the header menu). This AJAX call is made to override caching plugins, which is good, but it generally takes time.

How does Disable Cart Fragments solve the issue?

With our plugin, you have the best of both worlds: You keep using the caching plugin and you still get to update the cart totals when the cart is not empty. This check is made via WooCommerce cart cookies, so it still employs JavaScript but doesn’t rely on slow AJAX requests. The check is made instantly, whether you’re using a caching plugin or not. How cool is that?

WooCommerce Optimization Services

Feel free to reach out to us at Optimocha.com and let us help you optimize your WooCommerce website!

Main plugin features

  • Disables WooCommerce cart fragments.
  • Checks the cart cookies and if it’s not empty, loads the cart fragments script so the cart totals are still updated.
  • Brings you joy. (WARNING: Might not bring joy in some rare cases.)

Installation

  1. Download the plugin (.zip file) on your hard drive.
  2. Unzip the zip file contents.
  3. Upload the disable-cart-fragments folder to the /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.
  5. When activated, it will start working. There’s no settings page, simply activate and use.

Changelog

Ensured compatibility with WooCommerce 7.3.0 (including HPOS or High-Performance Order Storage), WordPress 6.1.1 and PHP 8.1.

2.4.1

  • Bug fix.

2.4

  • Tested and ensured compatibility with the latest versions of WordPress, WooCommerce and PHP.
  • Cleaned up the code a bit.

2.3

  • Tested and ensured compatibility with WordPress 6.2 and WooCommerce 7.8.0.
  • Fixed an issue: Store managers were unable to dismiss the notices.

2.2

  • Tested and ensured compatibility with PHP 8.1, WordPress 6.1.1 and WooCommerce 7.3.0.
  • Added the necessary HPOS (High-Performance Order Storage) compatibility code.

2.1.1

  • Version bumps to ensure DCF is working with WordPress 6.0 and WooCommerce 6.5.1.

2.0

  • Turns out WordPress thinks v1.21 is “newer” than 1.4 – kind of makes sense; we should’ve made v1.21 as v1.2.1. Anyway, we’re releasing v2.0 which is the same as v1.4 but this will set the record straight and people using v1.21 will get updates this time.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Disable Cart Fragments by Opt… alternatives

All cart fragments plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
2 TrimPress TrimPress TrimPress optimizes and trims some of the cruft from WordPress for a lighter, more secure… by David Matthew 100+ ★★★★★★★★★★ 5 (1) 2 years ago 41

FAQ

Disable Cart Fragments by Optimocha: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Disable Cart Fragments by Optim… free?

Yes. Disable Cart Fragments by Optim… is free to download and use from the official WordPress.org plugin directory.

Is Disable Cart Fragments by Optim… safe to use in 2026?

Disable Cart Fragments by Optim… works, but test it on a staging site before relying on it in 2026. It runs on 10K+ sites, is rated 4.9/5 and was last updated 1 year ago, and scores 51/100 on our health check.

How many websites use Disable Cart Fragments by Optim…?

Disable Cart Fragments by Optim… is active on 10K+ WordPress websites and has been downloaded 141,784 times since it launched in May 2019. It was downloaded 1,264 times in the last 30 days.

Does Disable Cart Fragments by Optim… work with WordPress 7.1?

Disable Cart Fragments by Optim… is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Disable Cart Fragments by Optim… need?

Disable Cart Fragments by Optim… requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Disable Cart Fragments by Optim… last updated?

The latest version, 2.4.1, was released on September 1, 2025 (1 year ago).

Who makes Disable Cart Fragments by Optim…?

Disable Cart Fragments by Optim… is developed and maintained by Optimocha.

What are the best alternatives to Disable Cart Fragments by Optim…?

The most popular alternatives to Disable Cart Fragments by Optim… are TrimPress (100+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open