Page 1 of 1
Order ID number
Posted: Thu Mar 24, 2011 6:41 pm
by Bill Kaye
The php code for the shopping cart creates an Order ID number. I would like to shorten the number generated. Does anyone know where this is located in the php code?
Thanks
Re: Order ID number
Posted: Thu Mar 24, 2011 9:57 pm
by Patrik iden
Hi i think it's this code in the thankyou.php page. It starts on line 27
// create unique order id
$orderid = strtotime("now").$_SERVER['REMOTE_ADDR'];
$orderid = str_replace(".", "", "$orderid");
I dont know exactly how to chang it, just try somthing.