How to Remove 'Add to Wishlist' Button in Magento 2?

Wishlist - The word itself says a lot. The ecommerce store wishlist is just a list of products we wish to buy. An online store wishlist is a feature that allows visitors to save an item for future purchases. In most of the online stores utilized recently, the wishlist is represented as a star symbol.

But wishlist can sometimes be an enemy for the store as it gets distracting and reduces the sales of the online store. A wishlist is majorly a middle option that is used to try not to forget the product and not even buy the same. Sometimes, customers use it just like bookmarks. Of course, the wishlist feature comes with tons of benefits but for the store owners, it can be a hindrance to the sales. This feature makes users save the product instead of buying it right away.

Ultimately, it works as an alternative CTA that distracts customers from the goal of conversions. A wishlist is a great feature especially when you are offering hefty discounts or are having a wide range of products.

Otherwise, having a Wishlist feature might be a loss for your store.

How To Remove or Disable The ‘Add To Wishlist’ Button In Magento 2

In order to remove the 'Add to Wishlist' button, follow the below steps:

  1. Log in to admin panel
  2. Navigate to Stores > Configuration
  3. Go to Wishlist under Customers
  4. Expand the General Options
  5. Set the option of Enabled to “No“
  6. Save the configuration

Don’t forget to clear the cache!

  1. Go to System > Cache Management.
  2. Use mass action to select all and refresh
  3. Click submit

It's done!

And if you want to do this programmatically, here is the code:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
    <referenceBlock name="wishlist_sidebar" remove="true" />
    <referenceBlock name="view.addto.wishlist" remove="true" />
    <referenceBlock name="category.product.addto.wishlist" remove="true" />
</body>
</page>

We hope everything is covered. If we missed anything out, feel free to contact us.