Klangaroo Posted November 17, 2008 Share Posted November 17, 2008 In the WHMCS docs, it says you can put things in your email templates like {$client_custom_fields.0} and {$client_custom_fields_customfrontend} (as i have a custom field called Custom Frontend) but they dont do anything, it just literally echoes {$client_custom_fields_customfrontend} to the recipitent of the email. How do you actually put custom fields into your email templates? As the methods in the documentation obviously don't work. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 17, 2008 Share Posted November 17, 2008 (edited) Try taking the "s" off from fields eg... {$client_custom_field_customfrontend} or with the "s" the other way {$client_custom_fields.0} Edited November 17, 2008 by sparky 0 Quote Link to comment Share on other sites More sharing options...
Klangaroo Posted November 17, 2008 Author Share Posted November 17, 2008 naw, doesnt make any difference. my email template looks like this: Invoice Items [Description] ------------------------------------------------------ You can login to your client area to view and pay the invoice at [invoiceLink] [signature] {$client_custom_fields.0} {$client_custom_field.0} and the email you recieve says Invoice Items DNS Hosting - aegageage.com.au (17/11/2008 - 16/11/2009) $57.45 AUD ------------------------------------------------------ Sub Total: $57.45 AUD 10.00% Tax Due: $0.00 AUD Credit: $0.00 AUD Total: $57.45 AUD ------------------------------------------------------ You can login to your client area to view and pay the invoice at http://hosting.*****.com.au/whmcs/viewinvoice.php?id=2097 {$client_custom_fields.0} {$client_custom_field.0} 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 17, 2008 Share Posted November 17, 2008 What WHMCS Version are you using? 0 Quote Link to comment Share on other sites More sharing options...
Klangaroo Posted November 17, 2008 Author Share Posted November 17, 2008 License Type: Owned License No Branding License Expires: Never WHMCS Version: 3.6.2 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 17, 2008 Share Posted November 17, 2008 Now thats bogging down the memory Try this one [Custom-customfrontend] The Docs in the wiki are updated for the latest version 3.7.2 Maybe you should upgrade 0 Quote Link to comment Share on other sites More sharing options...
Klangaroo Posted November 17, 2008 Author Share Posted November 17, 2008 ok i see now, we need to upgrade to 3.7, its only $12.95 so we'll do that. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 17, 2008 Share Posted November 17, 2008 Call me a dumb blonde but why will it cost you $12.95 to upgrade? Did the other field work? 0 Quote Link to comment Share on other sites More sharing options...
Klangaroo Posted November 17, 2008 Author Share Posted November 17, 2008 oh upgrading is free, i was looking at the professional upgrade service. i dont think i need that. but yeah i do need to upgrade cause i need to do IF conditions in the email templates and it looks like that requires 3.7 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.