Re: Auto-fill package specs

Originally Posted by
bear
Would it be possible to have WHMCS automatically fill in the packages specs in the various places it's used (emails, order pages, etc)? In my previous script, they had variables that got replaced automatically at run time, in client emails, on order pages, in the back end. Looked like this:
{{
web_space}} MB Web Space
{{
bandwidth}} MB Transfer
{{
email}} Email Accounts
This would print the stored values that were set up for the account wherever the {{variable}} was used. Looked like this:
250 MB Web Space
2,000 MB Transfer
10 Email Accounts
Please?

I did this with a custom smarty plugin that pulls the data based on product name or pid. It then throws the data into an array and you can use it how you please. This enables me to put product specs anywhere on the site and just update them in WHMCS versus going to different pages on the site to do it.
DISCLAIMER: I am in no way associated with WHMCS. My statements only come from years of programming, experience using WHMCS, and just my honest opinion.