Jump to content

[Solved] HTML in Supplier Description?


Recommended Posts

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 :)
  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

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

×
×
  • Create New...