@rthur Posted July 21, 2020 Share Posted July 21, 2020 Bonjour. Je suis sur prestashop 1.7.5 et j'ai rajouté un peu de code html dans mes tpl. Seulement c'est pas très "pro" et je voudrais savoir si il y a une autre solution en mettant ce code dans un fichier séparé et en l'appellant dans le tpl. Si oui comment faire exactement? Merci Link to comment Share on other sites More sharing options...
Mediacom87 Posted July 21, 2020 Share Posted July 21, 2020 Bonjour, il suffit de regarder le code du template des centaines d'appels vers d'autres fichier tpl sont présents dans le code. {include file='cms/_partials/sitemap-nested-list.tpl' links=$links.offers} {include file='catalog/_partials/miniatures/brand.tpl' brand=$brand} Vous pourrez aussi trouver des aides sur https://devdocs.prestashop.com/1.7/themes/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now