belgarion Posted November 16, 2012 Share Posted November 16, 2012 Hello ! Je cherche à ajouter le logo de la marque associée avant le nom de chaque produit mais voilà, je n'arrive à récupéer correctement l'id de la marque concernée J'ai pourtant utilisé le même code que celui de la page product.tpl : {if $product_manufacturer->id_manufacturer}<a href="{$link->getmanufacturerLink($product->id_manufacturer, $product->link_rewrite)}" title="{l s='All products of this manufacturer'}"><img src="{$base_dir}img/m/{$product_manufacturer->id_manufacturer}-mf_image2.jpg" /></a> {/if} Quelqu'un pourrait-il me sauver ? Merci Belgarion 1 Link to comment Share on other sites More sharing options...
belgarion Posted November 16, 2012 Author Share Posted November 16, 2012 Trouvé! <img src="{$base_dir}img/m/{$product.id_manufacturer|escape:'htmlall':'UTF-8'}-mf_image2.jpg"> et voilà 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