VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: fexnok on June 26, 2012, 12:21:39 PM

Title: Order Number to Uppercase
Post by: fexnok on June 26, 2012, 12:21:39 PM
Hi,

Is there any way we can modify the order number to uppercase? If it's just a matter of adding strtoupper, would that affect any other VM functionality?

I'm using VM 2.0.6.

Thanks
Title: Re: Order Number to Uppercase
Post by: fexnok on July 06, 2012, 13:42:22 PM
strtoupper function added on administrator\components\com_virtuemart\models\orders.php line 988

return strtoupper($data);
Title: Re: Order Number to Uppercase
Post by: letsneck on July 08, 2012, 07:25:20 AM
My invoices start at order ID number 1. I would like to change it virtuemart 2.08 to start at order ID number 1100. I am guessing that the code change would take place in the orders.php as well, but do not know how to perform the fix. Please will you explain in laymen terms how to perform the fix? I am new to code fixes. Thank you