add a snippet in twig shopware 6 code example
Example: add a snippet in 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 }}