damian5000 Posted September 7, 2013 Share Posted September 7, 2013 (edited) I tried putting some basic HTML in supplier description, but it doesn't seem to like it. I get the error "The description field (English (United States)) is invalid." Is there some way to do this? Or am I better off using information pages. Edited September 8, 2013 by damian5000 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 7, 2013 Share Posted September 7, 2013 it's because object definition doesn't allow to use html there. In this case you have to edit Supplier class. open classes/Supplier.php you've got there: 'description' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName'), change it to: 'description' => array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml'), should help 1 Link to comment Share on other sites More sharing options...
damian5000 Posted September 8, 2013 Author Share Posted September 8, 2013 awww yea. Butter. Thanks Link to comment Share on other sites More sharing options...
ocvitamins Posted September 30, 2013 Share Posted September 30, 2013 I have been having the same issue:The description field (English (United States)) is invalid. I am using a local host, I cannot even find the file you mentioned above, I looked in suppliers and cannot find classes. Can you specify? Thank you Link to comment Share on other sites More sharing options...
vekia Posted October 1, 2013 Share Posted October 1, 2013 I have been having the same issue:The description field (English (United States)) is invalid. I am using a local host, I cannot even find the file you mentioned above, I looked in suppliers and cannot find classes. Can you specify? Thank you hello have you solved it? or still the same? Link to comment Share on other sites More sharing options...
Recommended Posts