In this tutorial you'll learn how to integrate live chat with your WHMCS Template. Most live chat software now use a widget style where the live chat box is automatically "stuck" to a corner of your website so we no longer how to integrate the live chat code where we want the chat to show.
The live chat you're using will provide you with embed code that will need to be added to your template. Depending on the live chat you're using they will require the code to either be added to the <head> or <body> section. We will explain both below:
Integrate Within The Head
Open the following file:
/whmcs_path/templates/your_template/includes/head.tpl
You'll need to add the live chat code at the bottom of this file in the following format:
{literal}
live chat code goes here
{/literal}
Integrate Within The Body
Open the following file:
/whmcs_path/templates/your_template/includes/footer.tpl
You'll need to add the live chat code at the bottom of this file in the following format:
{literal}
live chat code goes here
{/literal}
Having problems?
If your live chat is not widget based or you're having problems feel free to leave a comment below and we'll be happy to help.
Request Support
We hope you found this documentation useful. If you run into any issues we will be happy to assist you.