One would expect that the output would not be truncated and would include HTML tags, but the text has HTML stripped. It seems that HTML is stripped before being added as a page variable. Is there a way I can output the description including HTML tags?
Which product box layout do you use for the category? For example if you’re using the list-layout Shopware is using the box-list.tpl.
However: One must not edit the template files directly because they might be overridden after an update. Always use the template inheritance system and create your own theme for modifications! Developing Themes
Thanks for your response. I don’t think I’m using the wrong template though. I can successfully remove the description, and removing the truncate method has the desired effect. However, removing strip_tags does nothing.
I have of course overridden the block as specified in the guide, in themes/Frontend/MyProject/frontend/listing/product-box/box-basic.tpl:
Using the above code, the test-class appears on the description element, inferring that it is overridden successfully. The description is no longer trucated. However, tags are still stripped from the content.