Jump to content


How to Disable Compare Products in Magento 2

magento magento2 magento2ecommerce magento2tutorials magento2tips

  • Please log in to reply
1 reply to this topic

#1 Meetanshi


    Advanced Member

  • Members
  • PipPipPip
  • 474 posts

Posted 30 November 2020 - 11:53 AM

Shoppers usually have the habit of comparing products before making the purchase. Comparing products that fulfill similar needs helps shoppers to make educated buying decision. It is a vital feature an ecommerce store can provide which helps the buyer to compare the value of the products based on their specifications, quality and features.
But in case of selling products like clothing, footwear, etc. comparing products is not required and buying decision depends purely based on the size, choice, type of material, etc.
Magento 2, by default provides the functionality to compare products. But as discussed in the above scenario, comparing 2 shirts neither required nor useful and in that, the store owner requires to Disable Compare Products in Magento 2.
Here, I'm sharing the programmatic solution to disable compare products in Magento 2 for your help.

looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 jibranahmed



  • Members
  • Pip
  • 3 posts

Posted 15 December 2020 - 11:50 AM

Informative topic. Thanks for sharing.

Also tagged with one or more of these keywords: magento, magento2, magento2ecommerce, magento2tutorials, magento2tips