Magento – HTML Tags / Code in the shop in the list view / Category / Short Description

Picture

Who has the problem, that the front end HTML tags for Description / Short Description will angzeigt, when changing from the grid view to list view, fix it, by the list.phtml a small change is made:

  1. The list.phtml file in the folder / app / design / frontend /[base or default]/IhrTemplate/template/catalog/product öffnen
  2. After the point
    <?php echo nl2br($this->htmlEscape($_product->getShortDescription())) ?>

    search (as. Line 62)

  3. And then the part ($this->htmlEscape and remove the closing parenthesis.
  4. What remains is
    <?php echo nl2br($_product->getShortDescription()) ?>
  5. The file playing up again, may clear the cache and then should be the HTML tags disappeared from the front.

Picture

Used in Magento Version 1.4.1.1

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

2 comments on “Magento – HTML Tags / Code in the shop in the list view / Category / Short Description”

Leave a Reply

Your email address will not be published. Required fields are marked *