Magento 2 – How to disable a specific area within a Magento 2 Module?

I have come through an interesting point while reading the Magento 2 official dev docs. You can enable or disable an area within a module. Below is the official link of devdocs article, https://devdocs.magento.com/guides/v2.3/architecture/archi_perspectives/components/modules/mod_and_areas.html There it’s mentioned. Let’s assume if we have adminhtml and frontend area within a module in Magento 2, then how could…

Magento 2 Remove Total from report table

I have overridden the Sales report in my custom report file but I want to remove footer which is automatically added that I don’t need how to remove that footer My layout xml file is <?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”> <update handle=”reports_sales”/> <body> <referenceContainer name=”page.main.actions”> <block class=”Magento\Backend\Block\Store\Switcher” template=”Magento_Backend::store/switcher.phtml” name=”store.switcher”> <action method=”setStoreVarName”> <argument name=”var_name” xsi:type=”string”>store_ids</argument> </action>…

Magento 2 Remove Total from report table

I have overridden the Sales report in my custom report file but I want to remove footer which is automatically added that I don’t need how to remove that footer My layout xml file is <?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”> <update handle=”reports_sales”/> <body> <referenceContainer name=”page.main.actions”> <block class=”Magento\Backend\Block\Store\Switcher” template=”Magento_Backend::store/switcher.phtml” name=”store.switcher”> <action method=”setStoreVarName”> <argument name=”var_name” xsi:type=”string”>store_ids</argument> </action>…

Magento 2 Remove Total from report table

I have overridden the Sales report in my custom report file but I want to remove footer which is automatically added that I don’t need how to remove that footer My layout xml file is <?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”> <update handle=”reports_sales”/> <body> <referenceContainer name=”page.main.actions”> <block class=”Magento\Backend\Block\Store\Switcher” template=”Magento_Backend::store/switcher.phtml” name=”store.switcher”> <action method=”setStoreVarName”> <argument name=”var_name” xsi:type=”string”>store_ids</argument> </action>…