Jump to content

Disk Usage and Disk Limit variable in email template


youssefalaoui

Recommended Posts

Hello,

We need to create an email template (Product Messages) with this variable: Disk Usage, Disk Limit, BW Usage and BW Limit

in Email Templates creating page we just find:

ID {$client_id}

Client Name {$client_name}

First Name {$client_first_name}

Last Name {$client_last_name}

...

How we can insert this variables in the email template, such us {$client_name} or {$client_id}

 

Note: in Clients Profile :Products/Services , w can see statistics such Disk Usage, Disk Limit, BW Usage and BW Limit.

 

Thanks

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

To view all available template variables you will just need to enter {debug} into any email template, send it to a client and then load it in your browser via their Emails tab. Once loaded you will get a popup showing what template variables are available on that particular page.

 

Not all variables are available on every page, and if the variable you wish to use isn't there, then you would need to obtain this yourself.

http://docs.whmcs.com/Hooks:System#EmailPreSend can be used to create your own smarty variables to use on the client area pages.

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