tehteh Posted June 19, 2016 Share Posted June 19, 2016 (edited) Hello,I want to ask how to increase the number of max chars in the Admin Order Messages to 2000 and why it is limited. In Prestashop 1.6.1.5 it is set to 600 chars and sometimes it is not enough. Thank you for your help! Edited June 24, 2016 by tehteh (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted June 20, 2016 Share Posted June 20, 2016 I have no idea why it says it is limited to 600 characters, especially since the real limit is 1200 on line 50 of classes/OrderMessage.php: 'message' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isMessage', 'required' => true, 'size' => 1200), You can change it to 2000 there and then change the displayed limit on lines 305-306 of js/admin/orders.js: if (length > 600) length = '600+'; $('#nbchars').html(length+'/600'); Link to comment Share on other sites More sharing options...
tehteh Posted June 24, 2016 Author Share Posted June 24, 2016 Thank you! Link to comment Share on other sites More sharing options...
demeerschehelden Posted July 17, 2018 Share Posted July 17, 2018 ik heb alles aangepast wat in de boven staat vermeld. bij het opslaan van de order message krijg ik deze foutmelding dat hij hem nog niet kan opslaan. weet niet wat er fout gaat, misschien is de oplossing simpel. heb alles gewijzigd in 2000 Het veld message (Nederlands (Dutch)) is te lang. (max. 1200 karakters, inclusief html karakters) 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