Description
In this episode, you’ll learn how to customize an existing grid in Sylius – using the sylius_admin_product grid as an example. The goal is to add a brand filter and improve the column layout for better admin usability.
You’ll learn:
- How to identify existing grids using Sylius naming conventions and Symfony Profiler,
- How to override only parts of the grid configuration without copying the full definition from vendor,
- How to add a brand filter to the product grid (e.g., via a dropdown),
- How to reorder columns (e.g., move “Enabled” next to the product image),
- How to remove unnecessary columns (like “Main taxon”) cleanly and safely.
Final result:
- The product grid now includes a brand filter for easier product discovery,
- The column layout is cleaner and more intuitive,
- Everything follows Sylius best practices – no code duplication, no vendor modifications.
This episode demonstrates how easily Sylius allows you to extend and adapt its admin interface to fit your project’s specific needs.