Hi
I have been using the following script change as published in the Advanced User guide without any problems recently;
Locate the file 'OrderScript.pl' within your site folder and open it using 'Notepad' or a similar text
editor.
Search for '0000000'. You should find the following line:
$::s_sOrderNumber = $sInitials . $sPostCode .
substr($$::g_pSetupBlob{CGI_ID}, -1) . substr("0000000" . $nCounter, -7);
Change the line to:
$::s_sOrderNumber = "I4D" . substr($$::g_pSetupBlob{CGI_ID}, -1) .
substr("0000" . $nCounter, -4);
Change "ACT" as required.
That is until I reach order number I4D19999, instead of the next number being I4D20000 it went back down to I4D1000?
Any fix for this?
With best regards
Matt
I have been using the following script change as published in the Advanced User guide without any problems recently;
Locate the file 'OrderScript.pl' within your site folder and open it using 'Notepad' or a similar text
editor.
Search for '0000000'. You should find the following line:
$::s_sOrderNumber = $sInitials . $sPostCode .
substr($$::g_pSetupBlob{CGI_ID}, -1) . substr("0000000" . $nCounter, -7);
Change the line to:
$::s_sOrderNumber = "I4D" . substr($$::g_pSetupBlob{CGI_ID}, -1) .
substr("0000" . $nCounter, -4);
Change "ACT" as required.
That is until I reach order number I4D19999, instead of the next number being I4D20000 it went back down to I4D1000?
Any fix for this?
With best regards
Matt
Comment