maisongibert Posted November 3, 2010 Share Posted November 3, 2010 Bonjour, je cherche à insérez dans toutes mes pages "produits" l'image d'en tête des catégories.Auriez vous une piste ?Merci d'avance pour votre aide ! Link to comment Share on other sites More sharing options...
Vincent Decaux Posted November 5, 2010 Share Posted November 5, 2010 Nous avons une piste et la bonne !Il faut rajouter ces 3 lignes : {if $category->id_image} getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if} Dans ton fichier product.tpl de ton thème. Après, il faut le placer la ou tu le veux ... La taille sera assez grande, tu peux ensuite utiliser 'medium' à la place de 'category' pour avoir une miniature par exemple. Link to comment Share on other sites More sharing options...
maisongibert Posted November 5, 2010 Author Share Posted November 5, 2010 Super, merci beaucoup... 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