Disable Compare Products

Disable Compare Products
M2

TOTAL:
$25.00
Compatible With: Community 2.0, 2.1, 2.2

Tech Specifications

Seller:
Current Version:
1.1.2
Type:
Stable Build
Updated:
24 January, 2018
Categories:
Extensions, Content & Customizations
License Type:

Overview

This simple extension will allow you to remove the compare products feature in Magento 2. The module doesn't use template rewrites.

Overview

Back to top

Magento 2 provides "compare products" functionality out of the box, but not every store needs this feature. Unfortunately, there is no simple way to disable compare products in Magento. This simple extension will allow you to remove the compare products feature. The main advantage of this module is that it doesn’t use template rewrites or modifications, so it can be used on different themes. This extension removes "add to compare" links and comparison blocks. There is a separate configuration field in the admin area, so the module can be configured on the store level. 

Features

  • Removes add to compare links
  • Removes comparison blocks
  • Can be configured on the store level (separate admin configuration field)
  • No template modifications

Installation

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

Connect via SSH and run the following commands in the root folder:

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

Then clear the cache. Go to admin page under System - Cache Management and press Flush Magento Cache button. 
Now the module is enabled in the system and it is ready to be configured and used.

Configuration

Configuration of the module is pretty simple. In Magento admin navigate to Stores - Configuration - Catalog - Catalog. In the Storefront section, you will see the new dropdown Disable Compare Products. Just set the value to Yes and save the config. You can manage this setting on the store level (for example if you want to disable compare functionality for the one store, and leave it turned on for another store). 
After clearing the cache compare product functionality will be disabled for the desired store.

If you have any questions, feel free to contact us.

Release Notes

Back to top

1.1.2:

  • Compatible with CE: 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    Magento 2.2 compatibility (no code changes)

1.1.1:

  • Compatible with CE: 2.1
  • Stability: Stable Build
  • Description:

    Fix for prices in some locales (UTF-8 issue)

Support

Back to top
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Q & A

Back to top

Reviews

Back to top