News:

Support the VirtueMart project and become a member

Main Menu

Order Number to Uppercase

Started by fexnok, June 26, 2012, 12:21:39 PM

Previous topic - Next topic

fexnok

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

fexnok

strtoupper function added on administrator\components\com_virtuemart\models\orders.php line 988

return strtoupper($data);

letsneck

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