how to enable html in product description?

Discussion in 'Troubleshooting' started by devinmills, Mar 21, 2012.

  1. devinmills

    devinmills New Member

    Joined:
    Sep 4, 2008
    Messages:
    8
    Is there a way to allow basic html inside the product description box? I'd like to display formatted lists, line breaks, headers and possibly a photo but can't get it to work. Is there a work around.

    (I'm using the latest version of the v.4 branch)
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This already should work. I've just tested this on my local installation.
  3. devinmills

    devinmills New Member

    Joined:
    Sep 4, 2008
    Messages:
    8
  4. devinmills

    devinmills New Member

    Joined:
    Sep 4, 2008
    Messages:
    8
    ...bump Any suggestions?
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Hi,
    Edit /amember/application/cart/views/_product.phtml and change this:
    <div class="description"><?php echo $product->getDescription(); ?></div>
    to
    <div class="description"><?php echo $product->getDescription(false); ?></div>
    This will be included in next version release as well.

Share This Page