youssefalaoui Posted October 12, 2012 Share Posted October 12, 2012 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 0 Quote Link to comment Share on other sites More sharing options...
youssefalaoui Posted October 16, 2012 Author Share Posted October 16, 2012 help plz , i need to know thie variables 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 19, 2012 WHMCS Support Manager Share Posted October 19, 2012 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. 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.