Remove Wishlist Block from Sidebar in Magento 2

0
5539
Remove Wishlist Block from Sidebar in Magento 2
Remove Wishlist Block from Sidebar in Magento 2

Similar to remove product compare blocks from sidebar, you might want to remove wishlist block from sidebar in Magento 2 as well.

In your module or theme, update the layout like following:

<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" />
    </body>
</page>

Refresh the account pages, you will see the wishlist block is remove from sidebar.

Have fun ~