kingfisherdirect / magento2-disable-compare
Magento 2 module to disable product compare functionality across all store pages
Package info
github.com/kingfisherdirect/magento2-disable-compare
Type:magento2-module
pkg:composer/kingfisherdirect/magento2-disable-compare
dev-master
2025-12-12 13:46 UTC
Requires
- php: >=7.4
- magento/framework: >=102.0
- magento/module-catalog: >=104.0
- magento/module-catalog-search: >=102.0
This package is auto-updated.
Last update: 2026-03-12 14:31:37 UTC
README
A simple Magento 2 module that completely disables the product compare functionality across your store.
Features
- Removes compare links from all product listings
- Removes compare sidebar blocks
- Works on all default Magento 2 pages including:
- Product pages
- Category pages
- Search results
- Shopping cart
- Wishlist
- Advanced search results
Requirements
- Magento 2.4.x or higher
- PHP 7.4 or higher
Installation
Via Composer (recommended)
composer require kingfisherdirect/magento2-disable-compare
php bin/magento module:enable KingfisherDirect_DisableCompare
php bin/magento setup:upgrade
php bin/magento cache:flush
Uninstallation
php bin/magento module:disable KingfisherDirect_DisableCompare
php bin/magento setup:upgrade
php bin/magento cache:flush
Then remove the module directory or uninstall via composer:
composer remove kingfisherdirect/magento2-disable-compare
License
MIT License - see LICENSE file for details