Jump to content

Illegal characters in product name


quendi

Recommended Posts

I need to be able to write characters "<" and ">" that are not allowed in Prestashop. How to do it? I have version 1.4.4.1.

 

I edit file classes/Validate.php, function isCatalogName, but it does not work or I'm doing something wrong.

 

I edit line:

return preg_match('/^[^<>;=#{}]*$/u', $name);

 

Please help.

Edited by quendi (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...