Skip to main content
1 of 2

In Magento 2, you can actually now remove Wishlist and Email products functionality via XML file. Wishlist and Email products block is defined in vendor/magento/module-catalog/view/frontend/layout/default.xml

and you can remove it by adding a default.xml file to your theme in: <theme_dir>/Magento_Catalog/layout/default.xml

inside which you remove your block as follows:

        <referenceBlock name="view.addto.wishlist" remove="true"/>
        <referenceBlock name="product.info.mailto" remove="true"/>