=== Debloat for WooCommerce === Contributors: kgmservizi Donate link: https://kgmservizi.com Tags: woocommerce analytics, disable woocommerce analytics, woocommerce, debloat woocommerce Requires at least: 5.2 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.0.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Optimize WooCommerce website performance. == Description == Optimize WooCommerce website performance. **Don't work? Open ticket, we answer in max 48h.** Optimize WooCommerce installation with less clicks. **All Admin Features** You can disable all admin features of WooCommerce Admin. **Selective Features** You can disable single feature of WooCommerce Admin. **Connection to WooCommerce.com notification** You can disable to WooCommerce.com notification. **Marketplace Suggestions** You can disable marketplace suggestions. **Extensions submenu** You can disable extensions (adding) WooCommerce submenu. **Marketing Hub** You can disable all features of Marketing Hub. **Remove Styles** You can remove all styles in NON WooCommerce pages. **Remove Scripts** You can remove all scripts in NON WooCommerce pages. **Remove Gutenberg blocks styles on frontend** You can remove all styles of WooCommerce Gutenberg block on frontend. **Remove Widgets** You can remove all WooCommerce widgets. **Remove Cart Fragmentation** You can remove WooCommerce cart fragmentation. == Installation == 1. Upload the plugin files to the '/wp-content/plugins/' directory, or install the plugin through the WordPress plugins page directly. 2. Activate the plugin through the 'Plugins' page in WordPress. 3. Plugin work automatically, no configuration required. == Frequently Asked Questions == = Why disable WooCommerce Analytics, Home and Notification Bar? = Disable this features is useful in some base hosting. Some hosting don't have the required resources for work in the better way with this WooCommerce feature. = Why base hosting don't have the required resources? = Because these shared base plans usually have basic feature and less resources. = How I can use WooCommerce Analytics if my hosting don't support it? = Upgrade your hosting plan or change provider if it don't offer a better solution. **Ask to a developer for choice your best solution.** = Why disable scripts and styles in non WooCommerce pages? = You can improve performance of your website where WooCommerce isn't loaded. = Why disable Cart Fragmentation? = This feature use an high number of AJAX requests. == Screenshots == == Changelog == = 1.0.3 = * Improved accessibility on the settings page: toggle switches now have a visible focus ring, decorative icons are hidden from screen readers and admin notices use proper live-region roles. * Small performance improvements: fewer redundant checks on every page load, lazier cache handling for the order count badge, lighter migration logic on frontend requests. * Hardening and cleanup: safer output escaping in the settings page, inline scripts moved to the standard WordPress enqueue system, AJAX handler updated to use the recommended helpers. * Minor fixes: corrected the Stripe incompatibility notice link, fixed a typo in the "Remove scripts" label, removed a duplicate script dequeue. * Code cleanup: updated formatting and coding standards throughout, no functional changes to existing features. * Internal: all option names and stored data are unchanged — fully backward compatible. = 1.0.2 = * Bugfix. = 1.0.1 = **⚠️ MAJOR UPDATE - BACKUP REQUIRED ⚠️** This is a complete rewrite of the plugin with significant architectural changes **(also for WooCommerce new features)**. **⚠️ Please backup your site before updating!** **What's New:** * Complete codebase rewrite * Improved performance * Improved caching system with in-memory cache and automatic cache invalidation * Automatic migration from version 0.8.7 to 1.0.0 (preserves existing settings) ⚠️ Please always make a backup. **Migration Notes:** * All existing settings from version 0.8.7 will be automatically migrated * The old "Disable WooCommerce Analytics" bulk option has been replaced with individual feature controls * New bulk options added: "Disable WooCommerce Admin" and "Disable Reports Text" **Breaking Changes:** * Plugin architecture completely rewritten (backward compatible settings) * Some internal function names changed (no impact on users) **Important:** ⚠️ This update includes major code changes. While we've tested thoroughly, please backup your site before updating and test on a staging environment. = 1.0.0 = **⚠️ MAJOR UPDATE - BACKUP REQUIRED ⚠️** This is a complete rewrite of the plugin with significant architectural changes **(also for WooCommerce new features)**. **⚠️ Please backup your site before updating!** **What's New:** * Complete codebase rewrite * Improved performance * Improved caching system with in-memory cache and automatic cache invalidation * Automatic migration from version 0.8.7 to 1.0.0 (preserves existing settings) ⚠️ Please always make a backup. **Migration Notes:** * All existing settings from version 0.8.7 will be automatically migrated * The old "Disable WooCommerce Analytics" bulk option has been replaced with individual feature controls * New bulk options added: "Disable WooCommerce Admin" and "Disable Reports Text" **Breaking Changes:** * Plugin architecture completely rewritten (backward compatible settings) * Some internal function names changed (no impact on users) **Important:** ⚠️ This update includes major code changes. While we've tested thoroughly, please backup your site before updating and test on a staging environment. = 0.8.7 = * Added badge for order number on menu label. = 0.8.6 = * Bugfix. = 0.8.5 = * 6.6 compatibility. = 0.8.4 = * Fix submenu extension remove. = 0.8.3 = * 6.4 compatibility. = 0.8.2 = * Removed new WooCommerce blocks style. = 0.8.1 = * Better selective features functionality and dequeue. Option moved on WooCommerce submenu! (Debloat) = 0.8 = * Totally revamped for support new WooCommerce features and selective features disable. Removed uninstall.php, we use hook now. Option moved on WooCommerce submenu! (Debloat) = 0.7.1 = * Strong bugfix and new functions. Option moved on WooCommerce submenu! (Debloat) = 0.6.1 = * BugFix. = 0.6 = * BugFix. = 0.5.1 = * BugFix & compatibility PHP 8. = 0.5 = * BugFix. = 0.4 = * BugFix. = 0.3 = * Fix WooCommerce 5.5. New options! PLEASE GO TO TOOLS -> WOOCOMMERCE BLOAT TO ENABLE SETTINGS. = 0.2.1 = * Compatibility WordPress 5.7. = 0.2 = * Version compatibility update. = 0.1.2 = * Version compatibility update. = 0.1.1 = * More details = 0.1 = * Initial release == Upgrade Notice == = 1.0.3 = Security, performance and accessibility improvements after a full audit. No breaking changes. Recommended for all users. = 1.0.2 = Bugfix. = 1.0.1 = **⚠️ MAJOR UPDATE - BACKUP REQUIRED ⚠️** Complete plugin rewrite. **⚠️ Please backup your site before updating!** Check settings for new options! = 1.0.0 = **⚠️ MAJOR UPDATE - BACKUP REQUIRED ⚠️** Complete plugin rewrite. **⚠️ Please backup your site before updating!** Check settings for new options! = 0.8.7 = Added badge for order number on menu label. = 0.8.6 = Bugfix. = 0.8.5 = 6.6 compatibility. = 0.8.4 = Fix submenu extension remove. = 0.8.3 = 6.4 compatibility. = 0.8.2 = Removed new WooCommerce blocks style. = 0.8.1 = Better selective features functionality and dequeue. Option moved on WooCommerce submenu! (Debloat) = 0.8 = Totally revamped for support new WooCommerce features and selective features disable. Removed uninstall.php, we use hook now. Option moved on WooCommerce submenu! (Debloat) = 0.7.1 = Strong bugfix and new functions. Option moved on WooCommerce submenu! = 0.6.1 = BugFix. = 0.6 = BugFix. = 0.5.1 = BugFix & compatibility PHP 8 = 0.5 = BugFix. = 0.4 = BugFix. = 0.3 = Fix WooCommerce 5.5. New options! PLEASE GO TO TOOLS -> WOOCOMMERCE BLOAT TO ENABLE SETTINGS. = 0.2.1 = Compatibility WordPress 5.7. = 0.2 = Version compatibility update. = 0.1.2 = Version compatibility update. = 0.1.1 = More details = 0.1 = Initial release. ``