Description
MM Side Cart puts a round cart button on every page of your shop. Customers tap it to slide open a drawer holding everything in their cart, where they can change quantities, remove a product and go straight to checkout without loading the cart page first.
The button is always a circle. The item count sits in a small badge on its rim, and the subtotal appears in a tag beside it on the side facing the page, so turning either on never changes the button’s shape. When a product is added, the badge gives a short pop to confirm it.
The plugin is built to stay out of your theme’s way. Its styles are namespaced and self-contained, so the drawer looks the same on classic and block themes, and every colour, size and spacing value is a setting.
WooCommerce stays in charge
The plugin never calculates a price, a total or a stock limit of its own. Prices, subtotals, quantity minimums, quantity steps and stock limits all come from WooCommerce, so a quantity typed into the drawer is checked against the same rules the cart page uses. Changes made in the drawer are real cart changes, visible everywhere on your site immediately.
Built for real sites
- No JavaScript framework, no icon font, no external requests. The stylesheet and script are loaded only on pages where the cart is shown.
- Nothing is polled. The cart stays in sync through WooCommerce’s own cart fragments and events.
- Works with page caching. If a cached page carries an expired security token, the drawer sends the customer to the real cart page instead of silently failing.
- Full keyboard support: the drawer is a proper dialog with focus trapping, an Escape shortcut and screen-reader announcements when the cart changes.
- Right-to-left ready. Positions and spacing are written with logical CSS, so a right-hand button becomes a left-hand button automatically.
- Respects the “reduce motion” setting in the visitor’s operating system.
- Compatible with High-Performance Order Storage and with the Cart and Checkout blocks.
Settings
Fifty-four settings across four tabs:
- General – turn the cart on or off, choose which pages and which visitors see it, hide it on the cart and checkout pages, hide it while the cart is empty, open the drawer automatically after a product is added, and pick one of four cart icons.
- Cart Button – item count badge, subtotal tag, position, size, icon size, distance from the edges and shadow.
- Cart Drawer – which side it opens from, width, page dimming, close behaviour, product images, variation details, quantity controls, remove buttons, subtotal, and the wording of the two action buttons.
- Styling – fifteen colours, page dimming strength, corner radius, base text size, spacing scale and typeface.
Installation
- Upload the
mm-side-cartfolder to/wp-content/plugins/, or install the plugin from the Plugins screen in WordPress. - Activate MM Side Cart through the Plugins screen.
- Go to MM Side Cart in the admin menu.
The defaults are usable straight away, so you can activate the plugin and leave every setting alone. WooCommerce 8.0 or newer must be active; if it is not, the plugin stays completely inactive and tells you why on the Plugins screen.
FAQ
-
Do I need to edit my theme?
-
No. The plugin adds itself to the footer of every page it is enabled on and positions itself over your content.
-
No, and that is deliberate. The button is always a circle in one of three sizes. The count and the subtotal are placed around the circle rather than inside it, so they never stretch it.
-
Will it clash with my theme’s styling?
-
Every rule in the plugin’s stylesheet is scoped to its own class names, and all of its colours and sizes come from CSS custom properties rather than from your theme. Four declarations use
!important, each defending against a specific and common theme behaviour, and each is commented in the stylesheet. -
Does it work with a caching plugin?
-
Yes. No visitor-specific data is printed into the cached page beyond the cart markup itself, which WooCommerce keeps up to date through its cart fragments. If a cached page is old enough that its security token has expired, the drawer opens the cart page rather than failing quietly.
-
Does it work with the Cart and Checkout blocks?
-
Yes, and it hides itself on those pages by default. When your site uses the block-based cart, the plugin also watches WooCommerce’s Blocks data store so changes made there are picked up.
-
Can I change the markup?
-
Yes. Copy any file from the plugin’s
templatesfolder intoyourtheme/mm-side-cart/and edit it there. There are also seventeen filters and eight actions; see the plugin’s README.md for the full list. -
What happens to my settings if I delete the plugin?
-
They are removed. Deleting the plugin deletes the two option rows it created and nothing else. No cart, order or customer data is touched.
-
Why does the drawer need jQuery?
-
Only to listen. Every WooCommerce cart event is a jQuery custom event, and a native browser listener never receives those. The plugin uses jQuery for that one job and plain JavaScript for everything else. jQuery is already loaded on every WooCommerce shop front end.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“MM Side Cart” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “MM Side Cart” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1
- First release.