u_ny Posted May 2, 2012 Share Posted May 2, 2012 Bonjour! Je cherche, comme le titre le laisse entendre, à appliquer du css juste sur le symbole de la devise du prix. J'ai beau chercher, par exemple, $product.price affiche le prix ET la devise, pas moyen de styler simplement la devise. Si quelqu'un a une piste, ça m'aiderait beaucoup. Merci! Link to comment Share on other sites More sharing options...
u_ny Posted May 3, 2012 Author Share Posted May 3, 2012 Je vais essayer de mieux m'expliquer Je cherche à ajouter un "<span>" autour du symbole de la devise. Link to comment Share on other sites More sharing options...
u_ny Posted May 8, 2012 Author Share Posted May 8, 2012 (edited) bump. Si quelqu’un a une idée... Edited June 19, 2012 by u_ny (see edit history) Link to comment Share on other sites More sharing options...
ckarone Posted May 8, 2012 Share Posted May 8, 2012 Bonjour, Le symbole € est ajouté via smarty avec cette variable {convertPrice price=$productPrice} . Donc, vous pouvez faire ce que vous voulez en faisant {$productPrice} <span>€</span> Link to comment Share on other sites More sharing options...
u_ny Posted May 21, 2012 Author Share Posted May 21, 2012 Merci beaucoup ckarone, j'ai pu avancer grâce a ça ! 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