BryanB Posted October 14, 2010 Share Posted October 14, 2010 How can I include a client extra field in the "New order notification email"? I have a field called "How did you hear about us?" it's ID is 18 but I'm not sure of the right syntax to put in the email template. thanks 0 Quote Link to comment Share on other sites More sharing options...
BryanB Posted October 16, 2010 Author Share Posted October 16, 2010 {$client_custom_fields.18} didn't work. Any other ideas??? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted October 17, 2010 Share Posted October 17, 2010 You might want to try {$client_custom_fields.17}. Array pointers generally start from 0. 0 Quote Link to comment Share on other sites More sharing options...
BryanB Posted October 18, 2010 Author Share Posted October 18, 2010 nope, that didn't work.... Anyone else? WHMCS?? I know it's not that hard, do I have to use the title of the field? How do I deal with spaces? An underscore? maybe... {$client_custom_fields.how_did_you_hear_about_us?} ? 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted October 18, 2010 Share Posted October 18, 2010 nope, that didn't work.... Anyone else? WHMCS?? I know it's not that hard, do I have to use the title of the field? How do I deal with spaces? An underscore? maybe... {$client_custom_fields.how_did_you_hear_about_us?} ? Try {$client_custom_field_howdidyouhearaboutus}. See also: http://wiki.whmcs.com/Messages/Emails#Custom_Fields 0 Quote Link to comment Share on other sites More sharing options...
BryanB Posted October 18, 2010 Author Share Posted October 18, 2010 awesome thank you. 0 Quote Link to comment Share on other sites More sharing options...
blymp Posted December 16, 2010 Share Posted December 16, 2010 Hi, Did you get this to work? I'm trying to make it work in the "Admin Messages > New Order Notification" and I just get blank lines. 0 Quote Link to comment Share on other sites More sharing options...
BryanB Posted December 17, 2010 Author Share Posted December 17, 2010 (edited) I have been unsuccessful in just about every combination that I've tried... I've used the exact format mentioned here in the wiki: http://wiki.whmcs.com/Messages/Emails#Custom_Fields but I've been getting white lines... After looking at it just now I'm going to try changing the number of the custom fields based on what order it appears in the admin area to see if I was using the wrong custom field #. Edited December 17, 2010 by BryanB 0 Quote Link to comment Share on other sites More sharing options...
blymp Posted December 17, 2010 Share Posted December 17, 2010 In fact I open a ticket with Matt and he said that it "won't work for admin emails - no solution for those unfortunately". I ask if he could add to the new update he said he would see what he could do about it. But unfortunately didn't come in this last update It is weird because this function was working before the admin emails could be personalized and in fact we were using it, and they just took this function off which directly affected us, since through the "new order notification" email we know if our clients were recommended by others or not, in order to give the bonus for those who recommended this new clients. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.