Netismine

Tips & Tricks

Magic variables not parsing on frontend

You created a new custom attribute for your product or category in Magento, but when you add magic variables, such as:

<img src="{{media url="logo.png"}}" alt="image" />
select all

whole thing messes up formatting and HTML, and your image is not visible on frontend. Seems like Magento doesn’t transform {{}} to image URL – reason is simple – you didn’t set your attribute’s is_html_allowed_on_front value to Yes (or “1″). Set it to true, and Magento starts parsing those magic variables.

No comments yet

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">