0

We've got products with descriptions containing HTML. Hovering over the Shopping Cart button they render just fine in the floating window. However, upon clicking the cart button, the full screen shopping cart displays the HTML code instead of rendering it. Is there a setting I need to change to get the full cart to render instead of displaying the HTML?

1

A quick and dirty way around this would be to wrap where the description is output in a html_entities_decode() function.

The more involved way of dealing with this is to rewrite Mage_Catalog_Helper_Output with your own and then rework the productAttribute()method.

  • 1
    Upvote because it sounds useful. No idea how to implement it right now, but will accept once I figure that out. :-) – Brian Knoblauch Apr 14 '14 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.