Neness50 Posted May 23 Share Posted May 23 Bonjour, Je voudrais modifier l'affichage des descriptions produits en faisait appel de {$product.description_short|strip_tags:'UTF-8'} Par exemple pour faire une description avec les balises <ul><li> mais lorsque que j'essaye ça n'affichage pas les balises et lorsque j'enlève le strip tags cela m'affiche les balises sans les prendre en compte dans ma page. j'ai déjà modifié l'affichage en faisant mes propres div Merciii <div id="nomdeformule"><span class="typeformule">{$product.description_short|strip_tags:'UTF-8'}</span><h3 class="nomdeformule">{$product.name}</h3></div> <div id="prixdelaformule">{$product.price}</div> <div id="description_bis">{$product.reference_to_display}</div> <div id="description_tiers">{$product.description}</div> <div id="description_quart">{$product.mpn}</div> Link to comment Share on other sites More sharing options...
Eolia Posted May 23 Share Posted May 23 Ben... |striptags supprime les balises donc mettez plutôt {$product.description_short nofilter} 1 Link to comment Share on other sites More sharing options...
Neness50 Posted May 23 Author Share Posted May 23 17 minutes ago, Eolia said: Ben... |striptags supprime les balises donc mettez plutôt {$product.description_short nofilter} Eh bien, c'était si simple.. merci pour l'aide rapide Link to comment Share on other sites More sharing options...
Divine Posted May 30 Share Posted May 30 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