Video Lesson: Custom layout handles in Magento

Custom layout handles in Magento

This is premium content

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

Custom layout handles in Magento

Learn custom layout handles in Magento including default and URL based handles like checkout_cart_index and wishlist_index_configure_type_bundle.

Lesson Content

So far, we’ve been looking at the Magento_Theme module which defines the core page layouts, containers, layouts & blocks. These define the bare root of page layouts, but module’s can extend all of these aspects.

Let’s go to the Magento_Wishlist module at vendor/magento/module-wishlist. This module controls what products have been added to a customer’s wishlist. Going to view/frontend/layout, we will see many layout XML files defined.

You’ll notice a specific naming convention going on. We learned default.xml applies to all pages in Magento, but these files target either specific pa...

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!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.