Search by

storeteam / module-disable-compare

hzubyrss

Lightweight Magento 2.4.x & Hyvä Theme module to cleanly disable Compare Products across catalog, search, widgets, and customer-data without core edits.

Package info

github.com/Store-Team-company/magento2-disable-compare

Homepage

Type:magento2-module

pkg:composer/storeteam/module-disable-compare

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-11-27 09:26 UTC

This package is not auto-updated.

Last update: 2026-11-28 07:36:28 UTC


README

A lightweight, production-safe Magento 2 module that cleanly disables Compare Products across category pages, product pages, sidebars, header links, search results, and Page Builder widgets — without core hacks or broken JavaScript.

Why disable Compare Products?

  • Cuts wasted bot crawl budget on /catalog/product_compare/add/ URLs
  • Reduces DOM clutter next to "Add to Cart" buttons on mobile
  • Eliminates redundant KnockoutJS / customer/section/load compare payloads on Luma themes

Full step-by-step documentation (including Hyvä Theme tips): How to Disable Compare Products in Magento 2 — StoreTeam Guide

Compatibility

  • Magento Open Source & Adobe Commerce 2.4.3 – 2.4.8+
  • PHP 7.4, 8.1, 8.2, 8.3, 8.4
  • Works cleanly with Luma, Porto, and Hyvä Theme

Installation via Composer

composer require storeteam/module-disable-compare
bin/magento module:enable StoreTeam_DisableCompare
bin/magento setup:upgrade
bin/magento cache:flush

Manual Installation

  1. Copy the module files into app/code/StoreTeam/DisableCompare/.
  2. Run:
bin/magento module:enable StoreTeam_DisableCompare
bin/magento setup:upgrade
bin/magento cache:flush

Need Magento 2 Speed Optimization or Hyvä Theme Development?

Built & maintained by StoreTeam — Magento 2 & Hyvä Specialist Agency serving US & UK merchants.

License

MIT License