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.)
[Fixed] Non-dismissible advertisement for Shop Manager role users
By sprucelydesigned on June 26, 2023
Updated my review from 1 to 3 stars as author replied here and presumably allowed the notice to be dismissed (I've replaced the plugin so I cannot verify).
This plugin advertises speed optimization services via an admin notification but unfortunately it is dismissible for administrator level accounts but not for shop manager accounts. Either an unfortunate bug or intentionally advertising to less privileged user accounts. Either way, we replaced this plugin with one that doesn't do this.
Great!
By royrogers on April 21, 2023
Fantastic and magical plugin. It should be merged as an option in the WooCommerce settings itself
Awesome plugin!
By Robert (roberthedlund) on September 19, 2022
Genius! Thank you!
By MBV on November 12, 2021
Amazing plugin
By oyantec on July 9, 2021
Working great even if cart in menu
By lesliejc on June 7, 2021
Thanks a lot
By kinduweb on September 22, 2020
The best plugin
By mrimpact on September 11, 2020
Useful plugin
By miata2 on June 20, 2020
Perfecto
By Jamesbogota on May 22, 2020