Author - Robert Popovic

Founder and Technical Director of LERO9, a web agency specializing in Magento and WordPress design and development.

I launched Magebase in April, 2010 and am its editor and contributor. My main topics of interest are Magento development, customization and how to get the most out of Magento with the least amount of headache.

More Info » Follow me on Twitter »

Reader Comments (11)

  1. NY Web Marketing
    July 11, 2010 at 5:30 am /

    Neat trick…and much appreciated. Is there a similar workaround for v1.3.4.2 without having to edit the db? Evidently WYSIWYG is a new feature.

    If not, are the db edits the same as 1.4.0.1?

    Thanks!

    Reply
  2. NY Web Marketing
    July 16, 2010 at 11:19 am /

    OK, so I tested out workaround #1 and there’s partial victory. I was able to edit the attribute for ‘Product_options’ (is_html_allowed_on_front = 1), but the attribute still shows this ghosted out and NO (after refreshing the cache and rebuilding the indexes).

    The descriptions (row Name) for Options now supports HTML, but the Title does not. In fact, it stubbornly just displays the raw HTML.

    Reply
  3. NY Web Marketing
    July 17, 2010 at 1:52 pm /

    Ooops:

    OLD: htmlEscape($_option->getTitle())) ?>
    NEW: ($_option->getTitle())) ?>

    Result:
    Parse error: syntax error, unexpected ‘(‘, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in
    /public_html/app/design/frontend/default/proclean_black/template/catalog/product/view/options/type/select.phtml on line 30

    Reply
  4. NY Web Marketing
    July 19, 2010 at 4:53 pm /

    Success (again, partial). Sorry for my code faux pas!

    Now we’ve hit a wall in that we can edit custom options titles to include HTML, but, when we try to add HTML via MageWorx Advanced Product Options extension, the title ignores the HTML altogether!

    I’ve already placed an urgent support request to Antoine…hopefully he’ll have a quick & easy fix. He’s generally been pretty supportive in the past.

    We thought, perhaps, to apply the same edit (remove escapeHTML) to a file within the /public_html/app/design/adminhtml/default/default/template/customoptions/ folder (such as “catalog-product-edit-options.phtml”, but I will let MageWorx give us their thoughts.

    Reply
  5. Shaun
    Shaun
    February 17, 2011 at 9:51 am /

    Well this post is a little old, but helpful, so thanks.

    Reply

Add a Comment & Join the Discussion

Insert small snippets of code by using [code]{your_code_here}[/code]
For larger code blocks please use http://pastebin.com and paste your link.

You may also use the following HTML in your comment: <a href="" title=""> <abbr title="">
<acronym title=""> <blockquote cite=""> <cite> <em> <strike> <strong>