Lacroix Posted January 9, 2017 Share Posted January 9, 2017 Hello tout le monde, Juste pour savoir ce que serait le code pour afficher un bouton (lien) sur toutes les pages produits commun à un fabricant? J'ai du mal à créer la séquence. Pour éviter de faire le lien manuellement sur chaque produit de ma base de données Merci d'avance si vous vous arrêtez pour m'aider Link to comment Share on other sites More sharing options...
Lacroix Posted January 9, 2017 Author Share Posted January 9, 2017 Personne? Link to comment Share on other sites More sharing options...
PixGeek Posted January 10, 2017 Share Posted January 10, 2017 Salut, tu peux inserer ce code sur ta page produit ou tu souhaites que le lien s'affiche <!— Affichage du fabricant —> {if $product->manufacturer_name}<span style="font-size: small;"><label for=product_supplier_name>{l s='Fabricant: '}</label> <a href="{$link->getmanufacturerLink($product->id_manufacturer, $manufacturer.link_rewrite)}">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</a></span> {/if} Link to comment Share on other sites More sharing options...
Lacroix Posted January 10, 2017 Author Share Posted January 10, 2017 Super, merci ça marche !! 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