Home
Magento Management
Updating Magento
Automatic Updates
Hyvä
Hyvä Checkout
Blog
About
Contact
Home
»
Blog
»
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
`
general.brands_heading
Your logo here?
Missing anything?
What are you missing?
X
Submit
Thank you for your feedback!