Disable Compare Products for Magento 2

Disable Compare Products for Magento 2 Created by MageryExtensions. This templates have specific characteristics, namely: Magento 2 provides compare products functionality out of thebox. But not every store needs this feature. Unfortunately, thereis no simple way todisable compare products in Magento. This simpleextension will allow you to remove compare products feature. Themain advantage of this module is that it .

You can use this Disable Compare Products for Magento 2 on Plugins category for compare, Magento2 and another uses.

Disable Compare Products for Magento 2
© Copyright by MageryExtensions

Features:

  • None: None
  • Magento 2.1.3, magento 2.1.2, magento 2.1.1, magento 2.1.0, magento 2.0.7, magento 2.0.6, magento 2.0.5, magento 2.0.4, magento 2.0.2, magento 2.0.1, magento 2.0.0: Magento 2.1.3, Magento 2.1.2, Magento 2.1.1, Magento 2.1.0, Magento 2.0.7, Magento 2.0.6, Magento 2.0.5, Magento 2.0.4, Magento 2.0.2, Magento 2.0.1, Magento 2.0.0
  • None: None
  • None: None
  • Xml, php: XML, PHP

Overview

Magento 2 provides compare products functionality out of thebox. But not every store needs this feature. Unfortunately, thereis no simple way todisable compare products in Magento. This simpleextension will allow you to remove compare products feature. Themain advantage of this module is that it doesn’tuse template rewrites or modifications, so it can be used ondifferent themes.

Installation

Unpack the archive. You will be able to find src directory inthe root folder. Copy contents of the src directory to the rootdirectory of your Magento installation.

Connect via SSH and run the following commands in the rootfolder:

php bin/magento module:enable Magery_DisableComparephp bin/magento setup:upgrade

Then clear the cache. Go to admin page underSystem -> Cache Management andpress Flush Magento Cache button.

Now the module is enabled in the system and it is ready to beconfigured and used.

Configuration

Configuration of the module is pretty simple. In Magento adminnavigate toStores -> Configuration -> Catalog -> Catalog.In the Storefront section, you will see the new dropdownDisable Compare Products. Just set the value toYes and save the config. You can manage this setting on the storelevel (for example if you want to disable compare functionality forthe one store, and leave it turned on for another store).
After clearing the cache compare product functionality will bedisabled for the desired store.

If you have any questions feel free to contact us