Disable Compare

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.

No errors foundPHPStan level 8Build passing
Supported Magento versions
2.4.9
License
OSL-3.0, AFL-3.0
Categories
Administration & Backend, Catalog Management

1 installs★ 1 stars0 downloads/monthLatest: v1.1.0Released 2026-01-09

composer require mavenbird/disable-compare

README

Reproduced from the package’s own README, under its own license, as of 2026-12-06. Links and images point back at the source repository.

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!

← All packages from mavenbird