kingfisherdirect/magento2-disable-compare
Composer 安装命令:
composer require kingfisherdirect/magento2-disable-compare
包简介
Magento 2 module to disable product compare functionality across all store pages
README 文档
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
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-12