When working with Sylius, you’ll be thinking about Channels quite often. Because of that, it’s essential to know how to easily determine which Channel Context you’re currently in. Whether you’re in the admin, shop, PHP code, or Twig templates — this is something you simply need to understand. In this episode, we’ll talk about the Channel Context, common tricks and pitfalls, and best practices.
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.