Michiel Gerritsen
Blog
Presentations
Layout XML
Magento 2, Layout XML, Quick Tip
Conditionally hide or show a block in Magento 2
Somehow i only found about this little gem only recently. In your layout xml you can use the ifconfig parameter to hide or show block depending on your configuration. It works as following.
May 14th, 2019