Disable Cart Fragments by Optimocha

Disable Cart Fragments by Optimocha Install Statistics

23
309.09%
Today: 34 Yesterday: 11 All-time: 113,155 downloads
Disable Cart Fragments by Optimocha Icon

Try plugin: Disable Cart Fragments by Optimocha

We'll create fresh WordPress site with Disable Cart Fragments by Optimocha installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About 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.

15


0


1


0


0

updated: 1 year ago
since: 5 years ago
author: Optimocha

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.)