In this episode, you’ll learn how to add dynamic data – such as a product rating from an external API – to a product page by customizing Sylius’s default controller. You’ll override the show() method and pass external data to the Twig view.
You’ll learn:
IMPORTANT: Overriding a controller is considered a last resort. In most use cases, better options include:
This episode gives you a solid understanding of controller customization in Sylius and how to do it properly when necessary.
© 2026 Sylius Academy. All rights reserved.