Extending a Twig Component in Sylius 2.0
· 3 min read
Sylius 2.0 uses Twig Components to create reusable, object-oriented templates. In a recent project, I needed to add information to the sylius_shop.twig.component.product.price
component and was wondering how to achieve this best.