Skip to main content

Disable/Hide Recently Ordered Block in Magento 2

To hide the recently ordered product block from the left side

Create default.xml in your module or theme's view/layout folder and paste the below code.

 

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="sale.reorder.sidebar" remove="true"/>
    </body>
</page>