Jump to content

Email Tepmlate syntax, documentation is wrong.


Klangaroo

Recommended Posts

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.

Link to comment
Share on other sites

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}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated