Answers for "add a snippet in twig shopware 6"

PHP
0

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 }}
Posted by: Guest on July-16-2020

Browse Popular Code Answers by Language