Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    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.
Working...
X