View Single Post
  #5  
Old 12-09-2009, 01:24 PM
 
jherzog jherzog is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 93
 

Default Re: Authorization code in email notification to orders department

I could also make an additional query in func_process_order() where the admin notification are trigger ~line 1200

With in the if() statement
if ($config['Email_Note']['eml_order_p_notif_admin'] == 'Y'){

I could add:
$orderForAdvInfo = func_query_first("select *, $o_date from $sql_tbl[orders] where $sql_tbl[orders].orderid='$orderid'");

And pass $orderForAdvInfo['extra']['advinfo']; to the tpl.

I am still modifying the core code but this exception would be limited to when orders are processed and admin notifications are set.

Just another idea
__________________
Jed Herzog
Gold X-Cart 4.0.17
http://www.outliersolutions.com
Portland Advertising Agency,
Portland Web Design
Reply With Quote