PDA

View Full Version : How do I add my customers' purchase order number into the email they are sent?


KB
22-Nov-2009, 10:46 AM
This article will show you how to place your customers' purchase order number into the email they are sent.

Open 'OrderScript.pl' within your site folder in Notepad.

Find the line:
$ACTINIC::B2B->SetXML('CUSTOMER_NAME',$sName);

You will find this in the sub 'GenerateCustomerMail' function.

Once you have found this line, add the following code underneath:
$ACTINIC::B2B->SetXML('PURCHASEORDERNUMBER', $::g_PaymentInfo{'PONO'});

Once you have made this change, you will be able to use the tag <Actinic:PURCHASEORDERNUMBER/> in the 'Customer Email' layout.