Magento2 How to remove a block from layout

To remove a block in Magento2 from layout use the following code snippet, add this in your theme default.xml or in your custom module layout file.



 Where in the above referenceBlock we are given remove=”true” it tell magento to remove the block with name that we specified from layout.

Magento2 intl php extension missing

When you trying to install magento2 the most common error used to get for the first time is php extension intl missing.

How to solve php intl extension missing problem?

From PHP version 5.3 the extension intl is bundled with PHP.

So what you need to so is just enable the extension for that

  1. open your php.ini file
  2. find for ;extension=php_intl.dll
  3. remove the comment ;

That’s all, restart the Magento2 installation and have fun.

Thank you for reading.