WHMCS templates installation

We are giving only Child Theme of WHMCS's default template twenty-one. We did not change anything except the design and some custom hooks for design purpose.

Prerequisites:

  • You should have installed WHMCS on your server. Please check the WHMCS Official Documentation .
  • Check that your installed WHMCS is working with a default template like `twenty-one`.

Then follow our documentation's instructions to install our WHMCS template.


How to install the WHMCS templates?

We have designed the WHMCS template and orderform. you need to follow the below steps to complete the template installation completely:

  1. Add your WHMCS template - Localhost to the templates folder
  2. Add the `localhost_cart` orderform to the orderforms folder
  3. Add hooks files to the hooks folder
  4. Configure your price from the WHMCS admin panel
  5. Change the default WHMCS template and orderform from the admin panel

Add Templates Folder

Add your WHMCS template "localhost" to the templates folder.

  • Go to the path: /<your-public-root-directory>/whmcs/templates
  • Unzip your uploaded template/file if you have the zip version
  • You will see the template folder name like - localhost
  • View this screenshot as an example:
image

Add Templates Folder

Add the "localhost_cart" orderform to the orderforms folder

  • Go to the path: /<your-public-root-directory>/whmcs/templates/orderforms
  • Unzip the "localhost_cart" orderform folder if you have the zip version
  • Add the "localhost_cart" folder
image

How to Update Language

Add overrides folder to the lang folder:

  • Go to the path: /<your-public-root-directory>/whmcs/templates/lang/override
  • Upload the override folder to your lang folder. In this override folder we have included english.php file. This english.php & arabic.php file is overrided and added all new variables for our template

Change Default Template and Orderforms

You can select our template and orderform from the General setting. To change the default template from the general setting:

Click the setting icon right side of the navbar then click the general setting:

image

Go to the general setting > general then select the template like localhost:

image

Change the default Orderform from General setting:

In this General setting, click the tab Ordering then you can see the different types of the order form template. Now select the localhost Cart. Check the below image:

image

After selecting, this then clicks the Save Change button.


Configure your product

Configure your product or price from WHMCS admin panel:

First of all, log in to your whmcs admin panel then click the setting icon right side of the navbar> products/services follow the steps:

image

I hope you have already created your product group name and under the group then add the single product under the group. If you don't have this package then you should create one first. Then edit the single product package like the below images:

image

Click the edit icon then you can see the below image. Copy this code and paste into the product description field like below image. You have to change the text or value based on your plan and follow it for the rest of the plan and product.

image