Havouza Posted October 3, 2017 Posted October 3, 2017 I have a problem with the custom theme. In gridview the product description looks as it should, but the list view seem to not bother about the html. See attached screenshots
moy2010 Posted October 3, 2017 Posted October 3, 2017 You mean, to display the bullets from the list?
Havouza Posted October 3, 2017 Author Posted October 3, 2017 The listview center the text and dont show the bullet list
yaniv14 Posted October 3, 2017 Posted October 3, 2017 I am not sure if its a bug or meant to be like that. The code is striping the html tags: {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} Without striping the html tags you won't be able to truncate it always at the same number of chars.
Havouza Posted October 3, 2017 Author Posted October 3, 2017 But what is the difference between the 2 views? They should show the same information. Its plain stupid
yaniv14 Posted October 3, 2017 Posted October 3, 2017 The one that strip the tags is inside category page (product-list) and the other one is inside product page. In product page you have no limit for description height/length from design perspective. In product-list in order to maintain equal height with the image you will need to truncate the description text. Again I am not its something that TB did on purpose or that is ok, I just pointing my comments.
Havouza Posted October 3, 2017 Author Posted October 3, 2017 I dont think there is a limit really, only the one you set yourself. But anyhow I will have the list view disabled, the layout stinks
Havouza Posted October 3, 2017 Author Posted October 3, 2017 And some tags must be there, someone has decided that the text should be centered which is not a normal formatting of a text
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