Jump to content

[SOLVED] Maximum chars in order message - 1.6.1.5


tehteh

Recommended Posts

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

  • 2 years later...

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

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...