You are here:  » HTML in description

Support Forum



HTML in description

Submitted by komrad on Mon, 2008-07-14 09:16 in

Hello,

I'd like to create product description in html code. What should i do ?
for http://www.miracle-breast-gain.com

Cheers,
Asep

Submitted by support on Mon, 2008-07-14 10:28

Hi Asep,

By default, HTML is stripped from the description by the following code starting at line 161 of includes/admin.php:

    if ($admin_importFeed["field_description"])
    {
      $record[$admin_importFeed["field_description"]] = strip_tags($record[$admin_importFeed["field_description"]]);
      $record[$admin_importFeed["field_description"]] = tapestry_normalise($record[$admin_importFeed["field_description"]],",'\'\.%!");
    }

To permit HTML in the description, simply comment out or delete this section, and the description field will be imported exactly as it appears in the product feed.

However, beware; as it is not uncommon to find links direct to the merchant within the HTML that appears in product descriptions; so you are in danger of losing commissions if this is the case!

Cheers,
David.

Submitted by komrad on Mon, 2008-07-14 11:10

Thanks a lot david.