In this episode, we’ll focus on customizing an existing Sylius resource — the Product. We’ll create a relation between Product and Brand and learn how to properly extend resources that already exist in Sylius. Just like before, we’ll use our previously created TestCommand to verify that everything works as expected.
Create your first Sylius Resource by building a Brand entity and explore what Sylius gives you out of the box, including factories, repositories, and resource debugging tools.
Expose a custom Brand resource in the Sylius admin, configure CRUD routes with a single routing definition, and explore how ResourceController works with Twig templates.
Learn how Sylius uses an event-driven approach, which events are dispatched by the ResourceController, and how to extend behavior using event listeners.
Learn how to create products in Sylius, understand the difference between simple and configurable products, and explore product configuration in the admin panel.