In customizing WHMCS client area, several client details are easily available as a predefined array, with the following values:

{$clientsdetails.userid} ID coming from tblclients
{$clientsdetails.id} ID coming from tblclients
{$clientsdetails.firstname} First Name
{$clientsdetails.lastname} Last Name
{$clientsdetails.companyname} Company Name
{$clientsdetails.email} Email
{$clientsdetails.address1} Address line 1
{$clientsdetails.address2} Address line 2
{$clientsdetails.city} City
{$clientsdetails.state} State
{$clientsdetails.postcode} Zipcode
{$clientsdetails.country} Country code
{$clientsdetails.countryname} Country full name
{$clientsdetails.phonenumber} Phone number
{$clientsdetails.notes} Admin notes on client
{$clientsdetails.password} Hashed or encoded password
{$clientsdetails.currency} Currency ID coming from tlbcurrencies
{$clientsdetails.cctype} Credir Card type (Visa, Amex etc)
{$clientsdetails.cclastfour} Credit Card last 4 digits
{$clientsdetails.securityqid} Security question ID
{$clientsdetails.securityqans} Answer for security question
{$clientsdetails.groupid} Client group ID
{$clientsdetails.status} Status (Active, Inactive, Closed)
{$clientsdetails.credit} Amount of credit
{$clientsdetails.taxexempt} “Don’t Apply Tax to Invoices” setting
{$clientsdetails.latefeeoveride} “Don’t Apply Late Fees” setting
{$clientsdetails.overideduenotices} “Don’t Send Overdue Emails” setting
{$clientsdetails.separateinvoices} “Separate Invoices for Services” setting
{$clientsdetails.disableautocc} “Disable Automatic CC Processing” setting
{$clientsdetails.language} Client language (empty = default language)
{$clientsdetails.lastlogin} Last login info
{$clientsdetails.customfields1} Custom fields value 1
{$clientsdetails.customfields2} Custom fields value 2
{$clientsdetails.customfields3} Custom fields value 3 etc
{$clientsdetails.billingcid} contact number to be used for billing

 

  

Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

  • WHMCS, Smarty
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

 How to add a favicon in WHMCS

To add a favicon to your WHMCS install: copy your favicon (es. myfavicon.ico) in WHMCS folder...

 How to comment in template (.tpl) files

If you need to insert a comment in a .tpl file, or comment a block of code to disable it, you...

 How to insert a Youtube video in WHMCS knowledgebase article

To insert a YouTube video in an article of the WHMCS knowledge base, you need to insert following...

 How to disable a customer to pay invoices partly with credit balance

in WHMCS if a customer has not enough credit balance for full payment of an invoice, WHMCS allows...

 How to add a cookie bar to WHMCS

In order to add a cookie bar to your own installation of WHMCS: copy somewhere on your WHMCS...