{"id":371182,"date":"2026-10-02T16:16:19","date_gmt":"2026-10-02T16:16:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wpmints-cart-drawer-for-woocommerce\/"},"modified":"2026-10-02T16:15:44","modified_gmt":"2026-10-02T16:15:44","slug":"mints-cart-drawer-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mints-cart-drawer-for-woocommerce\/","author":23559921,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.5","stable_tag":"1.0.5","tested":"7.1.2","requires":"6.4","requires_php":"7.4","requires_plugins":null,"header_name":"WPMints Cart Drawer for WooCommerce","header_author":"WPMints","header_description":"A slide-out mini-cart drawer that opens on add-to-cart, with live quantity\/remove controls.","assets_banners_color":"adc8c0","last_updated":"2026-10-02 16:15:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/wpmints.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":40,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.5":{"tag":"1.0.5","author":"wpmints","date":"2026-10-02 16:15:44","revision":3725128}},"upgrade_notice":{"1.0.5":"<p>Output-escaping fixes per WordPress.org review - please update.<\/p>","1.0.4":"<p>Text domain, CSS-injection, and escaping fixes per WordPress.org review - please update.<\/p>","1.0.3":"<p>Fixed a WordPress.org review issue - please update.<\/p>","1.0.2":"<p>Second prefixing fix pass - please update.<\/p>","1.0.1":"<p>Renamed and updated per WordPress.org review feedback.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3725128,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3725128,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3725128,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3725128,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3725128,"resolution":"1","location":"assets","locale":"","width":2552,"height":1227},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3725128,"resolution":"2","location":"assets","locale":"","width":2022,"height":1061},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3725128,"resolution":"3","location":"assets","locale":"","width":2017,"height":1055},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3725128,"resolution":"4","location":"assets","locale":"","width":2017,"height":1052},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3725128,"resolution":"5","location":"assets","locale":"","width":2027,"height":1052},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3725128,"resolution":"6","location":"assets","locale":"","width":2027,"height":1055},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3725128,"resolution":"7","location":"assets","locale":"","width":2022,"height":1060},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3725128,"resolution":"8","location":"assets","locale":"","width":2017,"height":1055},"screenshot-9.gif":{"filename":"screenshot-9.gif","revision":3725128,"resolution":"9","location":"assets","locale":"","width":900,"height":520}},"screenshots":{"1":"The drawer open after an add-to-cart (shown with the Pro progress bar and recommendations).","2":"General settings - trigger icon, count\/total badge, and trigger behaviour.","3":"Desktop settings - drawer side and trigger position.","4":"Mobile settings - trigger position (the bottom-sheet layout is Pro).","5":"Behavior settings - auto-open, close on outside click, totals, and undo remove.","6":"Progress bar settings (Pro).","7":"Style settings - container size, corners, shadow, overlay, and colours.","8":"Advanced settings (recommendations and custom CSS are Pro).","9":"A quick tour of the drawer and settings."}},"plugin_section":[],"plugin_tags":[7602,177319,75687,127626,286],"plugin_category":[45],"plugin_contributors":[281158],"plugin_business_model":[],"class_list":["post-371182","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax-cart","plugin_tags-cart-drawer","plugin_tags-floating-cart","plugin_tags-mini-cart","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-wpmints","plugin_committers-wpmints"],"banners":{"banner":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/banner-772x250.png?rev=3725128","banner_2x":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/banner-1544x500.png?rev=3725128","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/icon-128x128.png?rev=3725128","icon_2x":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/icon-256x256.png?rev=3725128","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-1.png?rev=3725128","caption":"The drawer open after an add-to-cart (shown with the Pro progress bar and recommendations)."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-2.png?rev=3725128","caption":"General settings - trigger icon, count\/total badge, and trigger behaviour."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-3.png?rev=3725128","caption":"Desktop settings - drawer side and trigger position."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-4.png?rev=3725128","caption":"Mobile settings - trigger position (the bottom-sheet layout is Pro)."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-5.png?rev=3725128","caption":"Behavior settings - auto-open, close on outside click, totals, and undo remove."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-6.png?rev=3725128","caption":"Progress bar settings (Pro)."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-7.png?rev=3725128","caption":"Style settings - container size, corners, shadow, overlay, and colours."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-8.png?rev=3725128","caption":"Advanced settings (recommendations and custom CSS are Pro)."},{"src":"https:\/\/ps.w.org\/mints-cart-drawer-for-woocommerce\/assets\/screenshot-9.gif?rev=3725128","caption":"A quick tour of the drawer and settings."}],"raw_content":"<!--section=description-->\n<p>Cart Drawer replaces WooCommerce's usual \"added to cart\" page reload with a slide-out mini cart. It opens automatically from every add-to-cart entry point - grid buttons and the single product page itself - and lets shoppers adjust quantity or remove items without ever leaving the page they're on.<\/p>\n\n<p>Configure it under WooCommerce \u2192 Cart Drawer.<\/p>\n\n<h4>Features (free)<\/h4>\n\n<ul>\n<li>Automatic slide-out drawer on add-to-cart, from grid buttons and the single product page<\/li>\n<li>A floating trigger button, or hook your theme's existing header cart icon instead<\/li>\n<li>Live quantity and remove controls inside the drawer<\/li>\n<li>Checkout and View Cart buttons (always shown)<\/li>\n<li>Position, side, container styling, real colour pickers, and a custom font<\/li>\n<li>Visibility rules (hide on cart\/checkout pages, or specific page IDs)<\/li>\n<li>A <code>[wpmintscd_trigger]<\/code> shortcode to place a trigger button anywhere your theme accepts a shortcode<\/li>\n<li>An optional setting to redirect WooCommerce's native \/cart\/ page to this drawer instead<\/li>\n<\/ul>\n\n<h4>Free vs Pro<\/h4>\n\n<p>This is the full, free plugin - it is not a limited trial. A separate Pro plugin is sold at <a href=\"https:\/\/wpmints.com\">wpmints.com<\/a>, as its own additional install (not unlocked with a key inside this plugin), and adds:<\/p>\n\n<ul>\n<li>Slide\/fade drawer animations (free stays on no animation)<\/li>\n<li>The mobile bottom-sheet layout (free stays on the side drawer)<\/li>\n<li>A coupon field inside the drawer<\/li>\n<li>Hiding the checkout\/view-cart buttons<\/li>\n<li>A spend-more-save-more progress bar (single rule or multiple tiers)<\/li>\n<li>In-drawer product recommendations<\/li>\n<li>A custom CSS field<\/li>\n<\/ul>\n\n<p>Pro is a separate plugin\/codebase - this free plugin has no license check, no remote calls of any kind, and no dormant code for any of the above; none of it exists in this codebase at all.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/mints-cart-drawer-for-woocommerce<\/code>, or install it directly through the Plugins screen.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to WooCommerce \u2192 Cart Drawer to configure it.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20need%20woocommerce%3F\"><h3>Does this need WooCommerce?<\/h3><\/dt>\n<dd><p>Yes - it only does anything on a WooCommerce site, and won't load at all if WooCommerce isn't active.<\/p><\/dd>\n<dt id=\"will%20it%20work%20with%20my%20theme%3F\"><h3>Will it work with my theme?<\/h3><\/dt>\n<dd><p>It hooks WooCommerce's own add-to-cart events and a wide list of common theme\/page-builder cart-icon patterns, so it works without theme-specific code in almost all cases. A custom CSS selector field is available if automatic detection doesn't find your theme's icon.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20phone%20home%20or%20track%20anything%3F\"><h3>Does this plugin phone home or track anything?<\/h3><\/dt>\n<dd><p>No. This free plugin makes no external requests of any kind.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Every remaining echo is escaped at output: cart item images and fees via wp_kses_post(), trigger totals via esc_html().<\/li>\n<li>The drawer shell and cart contents are now printed directly by their templates instead of being built into a string and echoed.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Text domain now matches the WordPress.org-assigned slug (<code>mints-cart-drawer-for-woocommerce<\/code>).<\/li>\n<li>The \"hide theme's own cart\" CSS selector field is now restricted against CSS-injection (braces, semicolons, and comment syntax can no longer be used to break out of the generated style rule), per WordPress.org review feedback.<\/li>\n<li>Several hardcoded SVG icons and the \"PRO\" badge, previously echoed raw with a phpcs:ignore comment, are now passed through wp_kses() with an explicit allowed-tags list at the point they're output.<\/li>\n<li>uninstall.php was deleting the wrong (pre-rename) option name and leaving real settings behind on uninstall - fixed.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>The single-product Add to Cart AJAX interceptor now enqueues its inline JS properly (<code>wp_add_inline_script<\/code>) instead of printing a raw <code>&lt;script&gt;<\/code> tag - functionally identical, per WordPress.org review feedback.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed the same \"too short\/generic\" prefix issue WordPress.org flagged on a sibling plugin: the shared admin-page enqueue handle (<code>wpm-admin<\/code>) and its localized JS object (<code>cartDrawer<\/code>) are now under the full <code>wpmintscd<\/code> prefix.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Renamed to be more distinctive, per WordPress.org review feedback.<\/li>\n<li>Removed the progress bar, in-drawer recommendations, in-drawer coupon field, custom CSS, checkout\/view-cart button hiding, mobile bottom-sheet layout, and slide\/fade animation code entirely from this free build - previously present but always forced to a fixed free-tier value, which is a compliance issue regardless of there being no license check. The settings page still shows these as disabled fields with a PRO badge, but nothing behind them exists in this codebase now.<\/li>\n<li>The custom font-family field is now restricted to safe characters instead of accepting arbitrary text.<\/li>\n<li>Internal option\/settings\/AJAX-action names are now uniquely prefixed (wpmintscd_) to avoid any collision with other plugins.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A slide-out mini-cart drawer for WooCommerce, with quantity\/remove controls.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/371182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=371182"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpmints"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=371182"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=371182"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=371182"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=371182"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=371182"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=371182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}