PDA

View Full Version : Adding PO number to order confirmation emails


Nick
16-Jun-2003, 11:49 AM
Hi all

A client wants to be able to add a shopper's purchase order number to the order confirmation email. We've tried adding NETQUOTEVAR:PURCHASEORDERNUMBER to the various email templates, but this does not work.

Anyone got any suggestions?

(Using Actinic Business V6).

Thanks in advance

Nick

cdicken
17-Jun-2003, 03:36 PM
There is a discussion here (http://community.actinic.com/showthread.php?s=&threadid=849&highlight=user+defined+email) for adding payment method and shipping method. Maybe it can be adapted for purchase order number.

I will see if Zoltan is knocking about to give some input.

zmagyar
17-Jun-2003, 05:19 PM
You can get it work by some script customisation. Just open OrderScript.pl and find the line$ACTINIC::B2B->SetXML('CUSTOMER_NAME',$sName);in sub GenerateCustomerMail. If you got this line then add the following$ACTINIC::B2B->SetXML('PURCHASEORDERNUMBER', $::g_PaymentInfo{'PONO'});Once you have done this change <Actinic:PURCHASEORDERNUMBER/> tag will be available in Act_CustomerEmail.txt template.

I hope this helps.

Regards,

Lisa Carey
03-Sep-2004, 09:11 AM
Will this still work in v7? I need to add customer purchase order number to Act_CustomerEmail.txt (I'm scared of Perl scripts!)

Also I would like to add Payment Method to the customer email. How can I do this?

Thanks, Lisa

cdicken
03-Sep-2004, 03:12 PM
Yes this does still work in v7. See this knowledge base article (http://knowledge.actinic.com/users/kadmin/acatalog/Knowledge_Base_Email_Notifications_from_Store_264.html#aKB686) And don't forget you have an untouched version of the script in the 'Originals' folder.