cornichon01 Posted January 28, 2010 Share Posted January 28, 2010 Bonjour,je souhaiterais savoir s'il était possible d'afficher les prix de base barrés dans la liste des produits lorsque ceux-ci sont en promos ?Pour faire plus explicite, comment passer de l'image 1 à l'image 2,Et si oui, comment faire (le plus détaillé possible je suis novice de chez novice).Je pense cependant que cela pourrait etre utile à tous en accentuant la visibilité des promos.Merci d'avance. Link to comment Share on other sites More sharing options...
Sylvain (Volpeo) Posted February 3, 2010 Share Posted February 3, 2010 Bonjour cornichon01,Voici un bout de code à insérer dans product-list.tpl : {if $product.reduction} {$product.price_without_reduction} {/if} Il faudra placer ce code juste après : Ceci s'affichera dès que le champs "Réduction" du backoffice est rempli pour un produit (en euro ou en pourcentage du prix).En espérant avoir résolu ton problème. Link to comment Share on other sites More sharing options...
richard03 Posted February 25, 2010 Share Posted February 25, 2010 Bonjour,merci pour ta réponse sylvain ça m'a aider.est ce que tu saurais afficher le pourcentage de réduction sur cette même page? Link to comment Share on other sites More sharing options...
Christophe Klein Posted February 25, 2010 Share Posted February 25, 2010 Essaye {if $product.reduction} {$product.price_without_reduction} (- {$product.reduction_percent} &pct;) {/if} Link to comment Share on other sites More sharing options...
richard03 Posted February 25, 2010 Share Posted February 25, 2010 ça marche nikel ^^merci Link to comment Share on other sites More sharing options...
Atch Posted February 25, 2010 Share Posted February 25, 2010 Sujet déplacé et mis en [résolu] par la même occasion... Link to comment Share on other sites More sharing options...
Jean-Bruno Posted May 4, 2010 Share Posted May 4, 2010 Merci pour ce post : un complément d'info concernant les arrondis après la virgule ici : http://www.prestashop.com/forums/viewthread/39247/#235275 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