Magento 2 Remove Mini Cart From Header

You can remove Mini Cart from header by adding the below line to layout xml

<?xml version="1.0"?>
<page xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
 <referenceContainer name="header.container">
 <referenceBlock name="minicart" remove="true"/>

One thought on “Magento 2 Remove Mini Cart From Header”

Leave a Reply

Your email address will not be published. Required fields are marked *