laurens Posted November 23, 2012 Share Posted November 23, 2012 Bonjour, j'ai mis ce bout de code dans mon fichier product.tpl pour afficher le logo du fabricant,mais j'aurais voulu que le nom s'écrive après 'Marque :' de façon que s'il n'y a pas de logo il y est au moins le nom Merci {if $product_manufacturer->id} <label for="product_manufacturer">{l s='Marque :'} </label> {capture assign='t_file'}img/m/{$product_manufacturer->id}-medium.jpg{/capture} {if $t_file|file_exists} <a href="{$link->getmanufacturerLink($product_manufacturer->id_manufacturer, $product_manufacturer->link_rewrite)}"> <img src="{$img_manu_dir}{$product_manufacturer->id}-medium.jpg" class="logo_manufacturer" title="{l s='Voir les autres articles de la marque '}{$product_manufacturer->name}" alt="{$product_manufacturer->name}"/> </a> {/if} {/if} <!-- fin logo manufacturer --> Link to comment Share on other sites More sharing options...
Patric Posted November 23, 2012 Share Posted November 23, 2012 Topic déplacé dans la section "Intégration". Link to comment Share on other sites More sharing options...
laurens Posted November 23, 2012 Author Share Posted November 23, 2012 Désolé de ne pas avoir posté au bon endroit 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