The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1090 Modules
617 Ready
473 Need Help
🏆 Leaderboard
Stable v1.1.0

Disable Compare for Magento 2

mavenbird/disable-compare

Lets store owners disable the product comparison feature globally or per category from the admin, hiding the Add to Compare button and related UI elements, with optional customer-group control.

1
Downloads
Below average
0
GitHub Stars
5mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
6 warnings
PHPStan Level 8

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.1.0 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

Disable Compare for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

Magento 2 Disable Compare Extension

Take full control over your store's product comparison feature with our Magento 2 Disable Compare Extension. This extension allows store owners to easily enable or disable the product comparison functionality across the entire store or for specific categories, providing a cleaner and more focused shopping experience for your customers.

Key Features:

  • Disable Compare Globally: Disable the product comparison feature across the entire store with a single configuration toggle.
  • Category-Level Control: Enable or disable the compare option for specific product categories as per your store's requirements.
  • Hide Compare Button & Link: Automatically hide the "Add to Compare" button on product listing and detail pages when the feature is disabled.
  • Clean Frontend Experience: Remove all compare-related UI elements (links, widgets, sidebar blocks) for a clutter-free shopping experience.
  • No Code Changes Required: Manage everything from the Magento 2 Admin Panel without touching any theme or template files.
  • Customer Group Support: Optionally restrict or allow the compare feature based on specific customer groups.
  • Cache Friendly: Fully compatible with Magento's built-in caching system for optimized performance.

Benefits:

  • Improved Store Performance: Removing unused comparison functionality reduces frontend load and improves page speed.
  • Simplified Shopping Experience: Provide a distraction-free product browsing experience for customers who don't need comparison features.
  • Full Admin Control: Easily toggle the compare feature on or off without any developer intervention.
  • Flexible Configuration: Apply settings globally or at the category level for maximum flexibility.

Compatibility:

This extension is compatible with Magento 2.x versions, ensuring seamless integration with your existing store setup.

Installation:

Install via composer (recommend) -

Easy installation process with step-by-step instructions provided for hassle-free setup.

composer require mavenbird/module-disablecompare
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Upgrade/Update Module:

Run the following command in Magento 2 root folder for easy update -

composer update mavenbird/module-disablecompare
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Configuration Options:

Tailor the compare disable settings to your store's needs with options for global toggle, category-level control, and customer group restrictions. Access the configuration settings from the Magento 2 Admin Panel under Stores > Configuration > Disable Compare.

Support:

Dedicated support team available to assist with installation, customization, and any other queries or concerns. support@mavenbird.com

Get Started:

Optimize your store's frontend experience and take control of the product comparison feature with our Magento 2 Disable Compare Extension. Start simplifying your store today!

Thank you!

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.