Video Lesson: Exercise: Pass data to another template using a ViewModel in Magento

Enroll to watch this lesson

Black Friday The whole University for $299/yr.

Exercise: Pass data to another template using a ViewModel in Magento

Magento ViewModel exercise passing data to sidebar template on blog post detail page.


Lesson Content

ViewModels can be created once and then used within multiple templates. This is exactly what you'd like to tackle next.

Using what you just learned, reference the Post ViewModel again, but this tim...

Premium content

Enroll to unlock the full content and all course materials.

Black Friday

The whole University for $299/yr.

Get the deal →
Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Black Friday

The whole University for $299/yr.

Every course, Maggie & Campus. The lowest price ever.

Get the deal →
Comments

Join the discussion!

Notes

Keep track of what you learn!