Jump to content

Client Stats Variables


ST4R

Recommended Posts

Hi there.

There are some variables to get client stats in whmcs. ex {$clientsstats.productsnumactive} will return the number of client's active products.

How can I get the number of terminated products? and what else can I get from $clientsstats ..? please give me a list of variables.

Thanks.

Link to comment
Share on other sites

5 hours ago, ST4R said:

How can I get the number of terminated products? and what else can I get from $clientsstats ..? please give me a list of variables.

add {debug} to the template code of the template you want to use the variable in and you'll get a popup window with the list of available variables, along with their current values, yourself. :idea:

and then remember to remove {debug} when you're finished.

but I don't think it's available, so you may need to use an action hook to get it - you could tweak the hook by @sentq in the thread below to check just for terminated products and get a count...

 

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