Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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 }}
 
PREVIOUS NEXT
Tagged: #add #snippet #twig #shopware
ADD COMMENT
Topic
Name
1+6 =