doudom 0 Posted March 22, 2009 Bonjour, je cherche à afficher une image avant le prix sur la page du produit, mais je n'arrives pas à l'insérer. j'ai essayé plusieurs manip sur product.tpl; sans succès.Une idée ?Merci Share this post Link to post Share on other sites
Fabrice 40 Posted March 22, 2009 tu aurais un exemple de l'effet recherché ? copie cran ? Share this post Link to post Share on other sites
doudom 0 Posted March 22, 2009 Je n'ai pas de copie d'ecran, comment on fait ?Je recherche à intégrer une image ou tout simplement le mot "prix" dans la fiche produit, juste avant le prix. Share this post Link to post Share on other sites
doudom 0 Posted March 22, 2009 Voila ce que j'ai essayé d'inserer dans product.tpl, mais j'ai une croix rouge. Deplu je vous drais l'image aligné avant le prix img src="../themes/prestashop/img/prix_logo.jpg"> {convertPrice price=$product->getPrice(true, NULL, 2)} {if $product->getPrice(true, NULL, 2) != $product->getPrice(false, NULL, 2)}{l s='incl. tax'}{/if} Share this post Link to post Share on other sites
DrÿSs' 22 Posted March 22, 2009 Déplacé dans le forum Graphisme. Share this post Link to post Share on other sites
Peha 7 Posted March 23, 2009 BonjourSi tu as une croix rouge, vérifie le chemin vers ton image.(et pour plus d'accessibilité, rajoute une balise alt="prix" à ton image) Share this post Link to post Share on other sites
doudom 0 Posted March 23, 2009 j'ai rajouté alt, revérifié le chemin qui est bon, mais toujours une croix rouge ! Share this post Link to post Share on other sites
doudom 0 Posted March 23, 2009 J'ai transformé l'image en gif, car impossible avec un jpg ??merci Share this post Link to post Share on other sites
Peha 7 Posted March 24, 2009 Non ça n'a aucun rapport, si ça marche avec un gif il n'y a aucune raison que ça ne marche pas avec un jpg.vérifie que l'extension de ton fichier était bien jpg en non jpeg. Share this post Link to post Share on other sites