HypNoTeeZz Posted January 29, 2018 Share Posted January 29, 2018 (edited) Bonjour, Je rencontre actuellement un problème. Je souhaite afficher l'image de catégorie au dessus du breadcrump (fil d'ariane). J'ai donc récuperé le code du fichier catégory.tpl : {if $category.image.large.url} <div class="category-cover-img"> <img src="{$category.image.large.url}" alt="{$category.image.legend}"> </div> {/if} Et l'ai placé dans un template appelé : image-category.tpl Dans mon template breadcrump.tpl j'ajoute un <include> en haut du code : {include file='catalog/listing/image-category.tpl'} <div class="ps_breadcumb hidden-md-down"> <div class="container"> <div class="wrap clearfix breadcrumb hidden-sm-down"> Une fois sur une page catégorie mon image s'affiche correctement et au bon endroit. Mais quand je clique sur un produit, j'ai cette erreure : ( voir photo) Pouvez-vous m'aider ? Edited January 29, 2018 by HypNoTeeZz (see edit history) Link to comment Share on other sites More sharing options...
Ryan Hidri Posted February 3, 2018 Share Posted February 3, 2018 en fait je ne suis pas sur de la solution,mais tu peux comme meme essayer de mettre le fichier que t'as ajouté au meme chemin par rapport au fichier product.tpl 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