Video Lesson: Override a class using a preference in Magento

Override a class using a preference in Magento

Enroll to watch this lesson

Black Friday The whole University for $299/yr.

Override a class using a preference in Magento

Learn how to override a Magento class using di.xml class preference and disable plugins.


Lesson Content

Sometimes you wish to completely override a Magento class. This can be done using a class preference. This is useful if you can’t use a plugin, for example when the function you want to change is priv...

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!