Overview
Modern Cart describes itself as: “Modern Cart gives your store a side cart and free shipping bar so shoppers stay on the page, spend more to unlock rewards, and check out in seconds.”
It is active on 60,000+ WordPress sites and rated 4.9 out of 5 by 17 users on WordPress.org. Developers can extend it through 30 actions and 83 filters, listed below.
How to install Modern Cart
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Modern Cart” and pick the one by Brainstorm Force.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install modern-cart --activateRequirements: WordPress 5.4+ · PHP 7.4+ · tested up to WordPress 7.1.4
Hooks & customisation
Modern Cart 1.1.1 fires 30 actions and 83 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter to allow the Pro plugin (or other extensions) to append additional stat…
apply_filters( 'modern_cart_get_specific_stats', $stats_data );
// Filter the list of abilities to register.
apply_filters( 'moderncart_abilities', $abilities );
// Filter the default settings for Modern Cart.
apply_filters( 'moderncart_default_settings', $defaults );
// Filters the cart item count.
apply_filters( 'moderncart_filter_cart_count', WC()->cart->get_cart_contents_count() );
// Change template directory path filter.
apply_filters( 'moderncart_set_template_path', … );
// Filter the database values for Modern Cart settings before merging with defaul…
apply_filters( 'moderncart_settings_db_values', array_intersect_key( $db_values, $default ), $option );Need Modern Cart customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Brainstorm Force. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.