mavenbird/disable-compare

Disable Compare feature in Magento 2

Maintainers

Package info

github.com/mavenbird/disable-compare-functionality-m2

Type:magento2-module

pkg:composer/mavenbird/disable-compare

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2026-01-09 12:07 UTC

This package is auto-updated.

Last update: 2026-04-13 11:23:27 UTC


README

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!