Diemux 1 Posted January 7 Posted January 7 (edited) We are using a custom theme, we used to be able to show HTML in the short description by removing strip_tags from: <div class="product-description"> {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} </div> so that becomes: <div class="product-description"> {$product.description_short} </div> But now I just see the description with the HTML tags written out as text: <p>Lorem ipsum<br /><br />random text to test</p> What am I missing? Is there some JS I need to alter? Can't find anything in the theme JS. SOLUTION: ADD "nofilter" tag as below: {$product.description_short nofilter} Edited January 7 by Diemux Added resolved tag (see edit history) Share this post Link to post Share on other sites
Prestachamps 179 Posted January 7 Posted January 7 Hi, please add the nofilter to the smart variable, so it becomescames like this: {$product.description_short nofilter} Kind regards, Leo 1 Share this post Link to post Share on other sites
Diemux 1 Posted January 7 Posted January 7 Great, thank you Leo for the really quick solution! Share this post Link to post Share on other sites
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