Video Lesson: Remove or control the display of a block in Magento

Remove or control the display of a block in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Remove or control the display of a block in Magento

Learn how to remove or hide a block in Magento layout XML using referenceBlock display and remove attributes.


Lesson Content

Similar to referenceContainer, there is also a referenceBlock node, and it’s used to either remove blocks from the tree or prevent them from rendering on a certain page. Let’s remove this move n...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Notes

Keep track of what you learn!