amoric69 Posted February 18, 2014 Share Posted February 18, 2014 Bonsoir, Comment on fait pour afficher la marque d'un produit à la suite de (ou dessous) son titre (page categorie de produits) ? Merci Link to comment Share on other sites More sharing options...
amoric69 Posted February 18, 2014 Author Share Posted February 18, 2014 Je suis arrivé à afficher l'image de la marque dans la page product.tpl : {if $product_manufacturer->id}<p style="margin-top:50px;"><a href="{$link->getmanufacturerLink($product_manufacturer->id_manufacturer,$product_manufacturer->link_rewrite)}"><img src="{$img_manu_dir}{$product_manufacturer->id}-logo.jpg" class="logo_manufacturer"title="{$product_manufacturer->name}"alt="{$product_manufacturer->name}" /></a></p>{/if} Par contre pour afficher le nom de la marque dans la page catégorie de produits (product-list.tpl), i've insert : {if $product_manufacturer->id}<p style="margin-top:50px;"><a href="{$link->getmanufacturerLink($product_manufacturer->id_manufacturer,$product_manufacturer->link_rewrite)}">{$product_manufacturer->name}</a></p>{/if} Ca ne fonctionne pas, quelqu'un sait pourquoi ? 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