Jump to content
Sign in to follow this  
luigidelgado

Email Templates Variables List

Recommended Posts

For all of you (like me) who are looking for or simply just would like to have a List of all Email Templates Variables Available when designing your email templates, my 2 cents:

 

 

Client Related

ID {$client_id}

Client Name {$client_name}

First Name {$client_first_name}

Last Name {$client_last_name}

Company Name {$client_company_name}

Email Address {$client_email}

Address 1 {$client_address1}

Address 2 {$client_address2}

City {$client_city}

State/Region {$client_state}

Postcode {$client_postcode}

Country {$client_country}

Phone Number {$client_phonenumber}

Password {$client_password}

Signup Date {$client_signup_date}

Credit Balance {$client_credit}

Card Type {$client_cc_type}

Card Last 4 {$client_cc_number}

Expiry Date {$client_cc_expiry}

Remote Gateway Token {$client_gateway_id}

Client Group ID {$client_group_id}

Client Group Name {$client_group_name}

Total Due Invoices Balance {$client_due_invoices_balance}

Custom Fields (Array) {$client_custom_fields.1}

Status {$client_status}

 

 

Product/Service Related

Order ID {$service_order_id}

ID {$service_id}

Signup Date {$service_reg_date}

Product Name {$service_product_name}

Product Description {$service_product_description}

Domain {$service_domain}

Config. Options {$service_config_options}

Server Name {$service_server_name}

Server Hostname {$service_server_hostname}

Server IP {$service_server_ip}

Dedicated IP {$service_dedicated_ip}

Assigned IPs {$service_assigned_ips}

Nameserver 1 {$service_ns1}

Nameserver 2 {$service_ns2}

Nameserver 3 {$service_ns3}

Nameserver 4 {$service_ns4}

Nameserver 1 IP {$service_ns1_ip}

Nameserver 2 IP {$service_ns2_ip}

Nameserver 3 IP {$service_ns3_ip}

Nameserver 4 IP {$service_ns4_ip}

Payment Method {$service_payment_method}

First Payment Amount {$service_first_payment_amount}

Recurring Payment {$service_recurring_amount}

Billing Cycle {$service_billing_cycle}

Next Due Date {$service_next_due_date}

Status {$service_status}

Suspend Reason {$service_suspension_reason}

Cancellation Type {$service_cancellation_type}

Username {$service_username}

Password {$service_password}

Custom Fields (Array) {$service_custom_fields.1}

 

 

Domain Related

Order ID {$domain_order_id}

Signup Date {$domain_reg_date}

Domain {$domain_name}

SLD (yourdomain) {$domain_sld}

TLD (com) {$domain_tld}

Reg Period {$domain_reg_period}

First Payment Amount {$domain_first_payment_amount}

Recurring Amount {$domain_recurring_amount}

Next Due Date {$domain_next_due_date}

Expiry Date {$domain_expiry_date}

Registrar {$domain_registrar}

 

'Days Until Expiry' and 'Days Until Next Due' will show 0 if the date has passed.

'Days After Expiry' and 'Days After Next Due' should be used if the date has passed.

Days Until Expiry {$domain_days_until_expiry}

Days Until Next Due {$domain_days_until_nextdue}

 

'Days After Expiry' and 'Days After Next Due' will only be defined if the date has passed.

Days After Expiry {$domain_days_after_expiry}

Days After Next Due {$domain_days_after_nextdue}

Status {$domain_status}

DNS Management {$domain_dns_management}

Email Forwarding {$domain_email_forwarding}

ID Protection {$domain_id_protection}

Auto Renew Disabled {$domain_do_not_renew}

 

 

Support Ticket Related

ID {$ticket_id}

Department {$ticket_department}

Date Opened {$ticket_date_opened}

Subject {$ticket_subject}

Message {$ticket_message}

Status {$ticket_status}

Priority {$ticket_priority}

Ticket URL {$ticket_url}

Ticket Link {$ticket_link}

Auto Close Time {$ticket_auto_close_time}

Knowledgebase Auto Suggestions {$ticket_kb_auto_suggestions}

 

 

Invoice Related

Invoice ID {$invoice_id}

Invoice # {$invoice_num}

Date Created {$invoice_date_created}

Due Date {$invoice_date_due}

Date Paid {$invoice_date_paid}

Invoice Items (Array) {$invoice_items}

Invoice Items HTML {$invoice_html_contents}

Sub Total {$invoice_subtotal}

Tax {$invoice_tax}

Tax Rate {$invoice_tax_rate}

Credit {$invoice_credit}

Total {$invoice_total}

Amount Paid {$invoice_amount_paid}

Balance {$invoice_balance}

Last Payment Amount {$invoice_last_payment_amount}

Last Payment Trans ID {$invoice_last_payment_transid}

Payment Method {$invoice_payment_method}

Payment Link {$invoice_payment_link}

Subscription ID {$invoice_subscription_id}

Status {$invoice_status}

Invoice Link {$invoice_link}

Previous Balance {$invoice_previous_balance}

Total Due Invoices Balance {$invoice_total_balance_due}

Notes {$invoice_notes}

 

 

Other

Company Name {$company_name}

Domain {$company_domain}

Logo URL {$company_logo_url}

WHMCS URL {$whmcs_url}

WHMCS Link {$whmcs_link}

WHMCS Admin URL {$whmcs_admin_url}

WHMCS Admin Link {$whmcs_admin_link}

Marketing Unsubscribe URL {$unsubscribe_url}

Signature {$signature}

Full Sending Date {$date}

Full Sending Time {$time}

 

 

Conditional Display

You can use conditionals to display text based on other values - for example:

 

{if $ticket_department eq "Sales"}

Sales only operates Monday-Friday 9am-5pm

{else}

Your ticket has been received and will be answered shortly

{/if}

 

Looping through data

A foreach loop can be used to cycle through values like invoice items:

 

{foreach from=$array_data item=data}

{$data.option}: {$data.value}

{/foreach}

Edited by luigidelgado
Spacing paragraphs

Share this post


Link to post
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.

Sign in to follow this  

  • Similar Content

    • By ModulesGarden
      As an owner of a web hosting business, you probably know well how many factors and variables must be considered in the process of a successful transaction.

      But what if we told you that all the efforts you put into your business, like catchy advertising, personalized recommendations and accurate descriptions, still fail to bring around 70% of the transactions to an end? That is how often clients leave items in their carts without completing the checkout. Quite striking, isn’t it?

      We are here with a simple yet powerful solution to that problem. Having in mind certain habits typical for e-commerce customers, we have come up with a module which does most of the job for you.

      Thanks to Abandoned Cart For WHMCS, you will be able to easily send out customizable email reminders to potential buyers - both your guests and logged in clients - at various time intervals, and no less importantly, view statistics and log entries concerning added or removed products.

      We obviously want to share this wonderful joy of the new release with you, so if you are willing to put our product to the test, do it now and grab a spectacular 33% discount!

      Still curious? Find a full write-up about Abandoned Cart For WHMCS on our Blog!




      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By SwiftModders
      SwiftModders specializes in premium, responsive WHMCS Themes designed to make your business stand out from your competition! Please look at what our customers say about us on WHMCS Marketplace and Trustpilot.
      All WHMCS Themes provided by SwiftModders are powered by our custom-built Theme Installer module that allows you to:
      Customize the settings for your theme installations Update your theme automatically Provide debugging tools, health checks, and license management Menu management system to customize your WHMCS navigation on-the-fly Developer-friendly CSS/SCSS editor support for advanced customizations ---
      Allure WHMCS Client Theme - Starts at $70 per year*
      Learn More | Purchase
      SwiftModders WHMCS Client Theme - Starts at $45 per year*
      Learn More | Purchase
      SwiftModders WHMCS Admin Theme - Starts at $35 per year*
      Learn More | Purchase
      *All prices above DO NOT reflect the 30% discount. One-time licenses are also available for all themes!
      ---
      Need something a little more custom?
      SwiftModders offers completely custom WHMCS theme development for businesses that want a better user experience and consistency with their brand. If that sounds like you, let's chat!
    • By ModulesGarden
      1. It’s Christmas time - 10% OFF storewide!

      The bells can already be heard jingling, so allow us to express the kindest wishes to you all, dearest clients! May your Christmas be a wonderful time of delight, happiness and peacefulness, spent with family and friends. Cheers from the whole ModulesGarden team!

      We’re excited to let you know that one more gift is waiting for you, as our Christmas Promotion has just begun – each WHMCS module you can find on our marketplace has been touched by a 10% discount! Before you start browsing, take a quick stop at our Blog and get the jolly promo code, which can be used until January 8th, 2023.

      Make the atmosphere even more magical!




      2. CRM For WHMCS 2.9.0

      Completely absorbed by the recent workflow, our developers have crafted a huge update to our well-known module, famous for the automated management of customer relationships. Precisely, we’re calling out CRM For WHMCS!

      By means of the 2.9.0 release, your business connections will get substantially improved by means of as many as 10 spanking new features! We’ll put just a few under the microscope right away:
      Set “Pending”, “Confirmed”, “Closed” or any other custom status with defined color to follow-ups, Modify the email subject and the content when the email template, that is about to be sent, is loaded, Tag staff members using the “@” sign in the notes in order to notify them if they have been mentioned. Crowning the unbelievable advancement, that is CRM For WHMCS 2.9.0, is the flawless compatibility with the latest WHMCS V8.6 and PHP 8.1. Discover its whole extent on our website along with a little surprise!

      Read more about CRM For WHMCS 2.9.0!




      3. OpenStack Projects For WHMCS 1.5.0

      On the other hand, you may want to start the search for a perfect gift with a detailed look at our popular module, crafted to allow the provisioning of OpenStack projects in a completely automated manner. Configuring resource bundles and assigning user roles remotely? This description fits only one piece of software – OpenStack Projects For WHMCS.

      The just released 1.5.0 version is a perfect idea for a Christmas gift this year, with its support for OpenStack "Zed" and the immaculate compatibility with WHMCS V8.6 and PHP 8.1. The changelog doesn’t however end there, so discover it in its entirety and make this Christmas even more memorable!

      Read more about OpenStack Projects For WHMCS 1.5.0!




      4. Office 365 For WHMCS 3.1.0

      You are not mistaken, this is the third major update that our developers have conjured just recently! Provisioning Microsoft Office 365 plans in your WHMCS has now become even more advanced, all thanks to the upgraded Office 365 For WHMCS.

      Owing to the impeccable support for WHMCS V8.6 and PHP 8.1 in combination with a set of extensive improvements, the 3.1.0 version is ready to amaze you even more than it already could.

      Read more about Office 365 For WHMCS 3.1.0!




      5. GoGetSSL For WHMCS 2.8.1 & Latest Updates

      These past days have been all about upgrades, resulting in another refinement to our free toolkit designed for the provisioning of SSL certificates. Take a closer look at GoGetSSL For WHMCS 2.8.1 and find out about the news we have introduced this week!

      The ongoing task to equip all our modules with impeccable support for the latest WHMCS V8.6 has resulted in another set of updates, laid out below for your comfort:
      Domain & Email Forwarding For WHMCS - v1.4.4 IP Manager For WHMCS - v2.5.14 Product Free Trial Manager For WHMCS - v1.0.1 R1Soft Backups For WHMCS - v1.1.12 Unban Center For WHMCS - v2.3.8 Zimbra Email For WHMCS - 2.1.10


      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ModulesGarden
      1. OpenStack VPS & Cloud For WHMCS 2.2.0

      It’s no secret that Christmas is getting closer with each day that passes, but have you already included yourself in the gift shopping spree? If you’re unsure what your heart desires, let us solve the mystery by announcing this week’s news – an update to OpenStack VPS & Cloud For WHMCS!

      The 2.2.0 version of this popular module for the provisioning of OpenStack virtual servers has a few exciting tricks up its sleeve, so let’s take a closer look at some of them:
      OpenStack "Zed" support, Setting the "Availability Zone" as the configurable option, Running scheduled tasks manually from the admin area, without waiting for the cron job. Worth highlighting is also the introduced WHMCS V8.6 and PHP 8.1 support - why don't you take a look at the whole changelog and stick around to grab a special 10% discount?

      Read more about OpenStack VPS & Cloud For WHMCS 2.2.0!




      2. Under the microscope: Email Notifications Organizer For WHMCS!

      Even though we have crafted an abundance of practical modules so far, we’re constantly thinking of new solutions that would make daily life easier for you and your clients. This was exactly the case with our latest creation – Email Notifications Organizer For WHMCS!

      So as to display its features in as much detail as possible, we have uploaded a fresh entry on our Blog, which will also show you the benefits that you and your customers will experience thanks to this module. Reduced carbon footprint and well-organized inbox are just two examples!

      Read more about Email Notifications Organizer For WHMCS!




      3. New EasyDCIM business guide: How to make clients feel cared for

      You surely know that in order for a web hosting business to thrive, a lot of different aspects need to be focused on, however particularly one of them should by all means become the priority: the customer.

      Putting your clientele in the center of attention by building a customer-centric business model is a subject close to the heart of EasyDCIM team, who have decided to share their knowledge in a recent Blog post, displaying 10 ways how to best appeal to clients!

      So, if you were looking for ways to ensure the success of your web hosting enterprise, perhaps this is the direction you as a provider should take. There is only one way to find out – start reading!

      Continue on the EasyDCIM Blog!




      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ModulesGarden
      1. Email Notifications Organizer For WHMCS - 25% OFF!

      Our team never misses the opportunity to enhance an already existing product, but creating a fresh piece of software entirely from scratch is especially rewarding. Let’s welcome another member of our marketplace – Email Notifications Organizer For WHMCS!

      Now you can introduce a whole new level of convenience to your clientele, by sending them data from multiple email notifications about unpaid invoices or expiring domains in the form of single messages. You will be able to set a custom template and delivery time for such notifications and see summaries of blocked and delivered emails for a chosen time period. Quite extraordinary, isn’t it? You'll optimize the usage of your server resources and immediately notice extra space, not to mention the reduced carbon footprint of your entire enterprise.

      It’s also been equipped with support for the latest WHMCS V8.6 and PHP 8.1, so go ahead and add a unique boost to your business now at a phenomenal 25% discount!

      Read more about Email Notifications Organizer For WHMCS!




      2. Another Set of WHMCS V8.6 Compatibility Updates

      WHMCS V8.6 has just been promoted to General Availability, meaning it’s now the recommended version for all installations and updates. Right after having heard the news, we’ve focused completely on equipping our products with impeccable support! Report Generator For WHMCS 4.3.0 with ACL is certainly a highlight, but let’s check what other products have also joined the official compatibility list of late:
      Client Area Popup For WHMCS – v1.3.5 DirectAdmin Extended For WHMCS – v3.9.1 Google Cloud Virtual Machines For WHMCS – v1.3.1 Hetzner VPS For WHMCS – v1.7.1 Product Feedback Center For WHMCS – v2.1.1


      3. GoGetSSL For WHMCS 2.7.9

      We’re closing in on this week’s set of news by sharing one more update, this time to our completely free toolkit designed to supply your clients with SSL certificates – GoGetSSL For WHMCS 2.7.9. View the changelog and see what’s new!

      Read more about GoGetSSL For WHMCS 2.7.9!




      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
  • 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