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.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubMagento 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.