abetts Posted December 22, 2010 Share Posted December 22, 2010 Hi folksAny ideas on how I can fix this please?http://www.thelotusforums.com/shop/72-luggage Link to comment Share on other sites More sharing options...
abetts Posted January 3, 2011 Author Share Posted January 3, 2011 $25 via paypal to whoever can help me fix this! Link to comment Share on other sites More sharing options...
rocky Posted January 4, 2011 Share Posted January 4, 2011 The problem is that you have added a to the product description of the "Emerson Fittipaldi No. 6 JPS Leather Holdall" product and it isn't being stripped properly. I think it's because the tag is being truncated before the tags are stripped. Try changing line 9 of themes/prestashop/product-list.tpl from: <a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'|escape:'htmlall':'UTF-8'|strip_tags:'UTF-8'}">{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'} to: <a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|strip_tags:'UTF-8'}">{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} This should hopefully strip the div before truncating instead of after. Link to comment Share on other sites More sharing options...
abetts Posted January 4, 2011 Author Share Posted January 4, 2011 Sorted and paid, thank you very much Rocky 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