Support forum login

©2006-2012 IAAI Software

Contact Us Privacy Policy

Increase amount of text shown in product description

Submitted by paddyman on Sat, 2007-02-10 18:20.

Would like to increase amount of text shown in the product description. Currently showing 255 characters. Have changed code in html\product.php to

<?php
 
print substr($mainProduct["description"],0,800); 
?>

See in the feeds table in my database that field_description is varchar(255). The products table has description field set as text.

Wondering if I change field_description field to text attribute and reregister, would this increase the amount of text I have, or is there another way?

Cheers

Paddyman

Submitted by support on Sun, 2007-02-11 10:01.

Hi Paddyman,

The description should be unlimited so i'm not sure why you are seeing it being cropped to 255 characters. The description is only stored in the products table, in a text field that is in theory unlimited. The field_description only holds the name of the description field (which you select during registration), so there is no need for this to be text - varchar(255) is fine.

Is it possible that the feed has descriptions that have been limited to 255 characters by the merchant?

Cheers,
David.