samantha_Scor Posted January 24, 2006 Posted January 24, 2006 hi, I need a help fixing the eMail that sent out with new "Improved Order Number" The instruction to change the email that sent out using the "Improved Order Number" is no working, any1 fix before? Could some one please help me to edit the eMail that sent out when some one place a order???
Guest Posted January 24, 2006 Posted January 24, 2006 I think you can find an answer @ contributions support forum.
samantha_Scor Posted January 24, 2006 Author Posted January 24, 2006 where is the link?i searched but no, please tell me if you know
shanejackson Posted February 11, 2006 Posted February 11, 2006 where is the link?i searched but no, please tell me if you know I am having the same problem.... The file in the contrib section does not help... If you leave out the $order = new order($insert_id); From the checkout_process.php you will get a the following in the email: Order Number: Detailed Invoice: https://server2.hostingplex.com/~...............?order_id=40 Date Ordered: Saturday 11 February, 2006 Still missing the order number but this is better than : ObjectProducts If anyone knows how to fix this please help...... I dont know if the PWA contribute has anything to do with this not working 100% or not......
tak811 Posted May 1, 2006 Posted May 1, 2006 I am having the same problem.... The file in the contrib section does not help... If you leave out the $order = new order($insert_id); From the checkout_process.php you will get a the following in the email:Order Number: Detailed Invoice: https://server2.hostingplex.com/~...............?order_id=40 Date Ordered: Saturday 11 February, 2006 Still missing the order number but this is better than : ObjectProducts If anyone knows how to fix this please help...... I dont know if the PWA contribute has anything to do with this not working 100% or not...... I justed install the dist. w/ emails and having exactly the same problem. Would appreciate if anyone out there can advise. Thanks.
siavash Posted July 6, 2006 Posted July 6, 2006 I have the same problem. The order number in the email still appears in the old format. how can i fix this? Besides, my admin order page does work! i get this error instead of the order Id: Fatal error: Call to undefined function: tep_trans_id() in .../htdocs/shop/admin/orders.php on line 377 have checked but doesn't make sense. reviewed the changed i have made but cannot solve the issue. any help will be appreciated. Did you try? Did you fail? No matter! Try again. Fail again! But fail better!
devless Posted December 12, 2006 Posted December 12, 2006 I have the same problem. The order number in the email still appears in the old format. how can i fix this? Besides, my admin order page does work! i get this error instead of the order Id: Fatal error: Call to undefined function: tep_trans_id() in .../htdocs/shop/admin/orders.php on line 377 have checked but doesn't make sense. reviewed the changed i have made but cannot solve the issue. any help will be appreciated. The reason why you will be receivingn the above error messasge, is because you did not put the following code in BOTH the /catalog/includes/functions/general.php AND the /catalog/admin/includes/functions/general.php // Output Transaction_ID = YYMMDD-SSmmHH-0001 // $raw_date needs to be in this format: YYYY-MM-DD HH:MM:SS // $order_id is passed from the customer order function tep_trans_id($raw_date,$order_id) { if ( ($raw_date == '0000-00-00 00:00:00') || ($raw_date == '') ) return false; $year = (int)substr($raw_date, 2, 2); $month = (int)substr($raw_date, 5, 2); $day = (int)substr($raw_date, 8, 2); $hour = (int)substr($raw_date, 11, 2); $minute = (int)substr($raw_date, 14, 2); $second = (int)substr($raw_date, 17, 2); $cart_id=sprintf("%02d%02d%02d-%02d%02d%02d-%04d",$year,$month,$day,$second,$minute,$hour,$order_id); return $cart_id; } ////
shu79ro Posted January 4, 2007 Posted January 4, 2007 I have a little problem with this contribution. I use the Pending Order Email ( http://www.oscommerce.com/community/contributions,3539 ) contribution with this contribution. I try to figure a way to get the improved order number in pending order email. Any suggestions? shu's LaBoTaRoRy
frenchflies Posted March 1, 2007 Posted March 1, 2007 I also have the same problem. fixes didn't work at all! anybody, please help!!! :( And where is the official support thread?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.