Disable Cart Fragments Wordpress Plugin - Rating, Reviews, Demo & Download

Disable Cart Fragments Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Disable Cart Fragments is a simple plugin that disables the AJAX ‘cart fragments’ feature in WooCommerce. That feature automatically updates the cart total in your shopping cart without having to refresh the page. The problem with this is that is severely slows down many WooCommerce websites especially on shared hosting servers. Plus, the feature isn’t even used in many cases. We recommend that if you install this plugin, you either disable it selectively on certain pages (see the Installation tab) or if installing as one-click then make sure you enable ‘redirect to cart page’ option in WooCommerce settings so that when a customer adds a product to their Cart, it redirects to the Cart page automatically so as to not confuse them about what happened to their chosen product.

This plugin removes e.g.

`/* <![CDATA[ */
var wc_cart_fragments_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/about?wc-ajax=%%endpoint%%","fragment_name":"wc_fragments"};
/* ]]> */
</script>
<script type='text/javascript' src='//example.com/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js'></script>`

You can selectively disable using a defined constant on certain pages only (see Installation page).

Compatibility:

  • OS: Linux
  • SERVER: Apache, Nginx
  • PHP: 5.5+
  • DATABASE: MySQL

Plugin Features:

  • SETTINGS: None
  • MUST-USE: Supported
  • MULTI-SITE: Support unknown
  • TRANSIENTS: None
  • WP_OPTIONS: None
  • __DATABASE USAGE:___ None
  • LOCALIZATION: Planned
  • UNINSTALL: Removes plugin files only (no stored data exists)

Future plugin goals:

  • Localization (translation support)
  • Code maintenance/improvements

Code inspired by:

NOTE: We released this plugin in response to our managed hosting clients asking for better access to their server environment, and our primary goal will likely remain supporting that purpose. Although we are 100% open to fielding requests from the WordPress community, we kindly ask that you consider all of the above mentioned goals before leaving reviews of this plugin, thanks!

Screenshots

No screenshots provided


Reviews & Comments