comarket Posted January 9, 2014 Share Posted January 9, 2014 If this topic has been answered before, I am sorry for asking again. I have looked and cannot find the answer. I am building a cvs file to upload my products. I want to use the # in the name. But when I use the #, the file will not upload and I get errors. How do I use the # or any special character in the name field. Example: The #1 use of special characters Thanks Link to comment Share on other sites More sharing options...
tomerg3 Posted January 9, 2014 Share Posted January 9, 2014 # is one of the invalid characters in the product name http://screencast.com/t/sMERMLRn2dA Those are invalid to prevent conflicts with other parts of the system (IE Friendly URL's) While you can modify Prestashop to allow those (you would need to override the Validate class-> isCatalogName()), it's generally not a good idea. Link to comment Share on other sites More sharing options...
Calatravo Posted February 13, 2014 Share Posted February 13, 2014 I have the same problem with client names and surnames. I need to allow this characters because i cannot change client names. I think i have to override some class too but which one and how! Thanks Link to comment Share on other sites More sharing options...
selectshop.at Posted February 13, 2014 Share Posted February 13, 2014 Your database and server is using charset UTF-8 ? If yes so that should be no problem to use special characters. Save your csv with UTF-8 format and import your file too choosing UTF-8 and all will be fine. Link to comment Share on other sites More sharing options...
Calatravo Posted February 13, 2014 Share Posted February 13, 2014 The problem is not importing clients, i have an oscommerce module to do that and does it correctly. The problem is that clients with special characters in names cannot login because it throws an error. I have fixed it overriding customer.php class and deleting client name and surname validation but i think this is not the correct way. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now