Hi Luke,
I created a custom field in order confirmation email and added that to the addtokens method in Order.cs
But it's still now showing up in the email.
In the email it shows up as
GP Customer ID: %Order.CustomerGPID%
Here is what the Order.cs looks like
<newCustomerSource newCust = new newCustomerSource();
tokens.Add("Order.OrderNumber", OrderNumber);
tokens.Add("Order.Email", Email);
tokens.Add("Order.CustomerGPID",newCust.getGPCustomerID(userId));
and here is how i am using it in templetae
<font face="verdana,arial,helvetica" size="-1" >
<b>GP Customer ID:</b> %Order.CustomerGPID%
</font>
Am i missing something else??
Thanks
-D
|