Добавить фрагмент в Twig Shopware 6
First you have to add the snippets in the admin panel:
Setting->Snippets
After you add the name of the snippet in the twig file
{{ 'nameOfTheSnippetFromBackend'|trans|sw_sanitize }}
Sergiu The Man