WHMCS templates installation
We are giving only WHMCS templates that we designed on WHMCS's default template SIX. We did not change anything except design.
To use it:
- You should have installed WHMCS on your server.
- Check that WHMCS is working on a default template like SIX.
- Then follow the below instructions to install the templates.
How to install the WHMCS templates?
We have professional WHMCS templates design with orderform. If you want to use kohost professional whmcs template then we need to follow the below steps to complete the template installation completely:
1. Add the kohost-professional and kohost-professional-rtl to the templates folder
2. Add the kohost-professional orderform to the orderforms folder
3. Add hooks to hooks folder
4. Add language to the language folder
5. Configure your price from WHMCS admin panel
6. Change the default WHMCS template and orderform from admin panel
Templates Folder
Add the kohost-professional and kohost-professional-rtl to the templates folder
- Go to the path: /<your-public-root-directory>/whmcs/templates
- Unzip the kohost-professional and kohost-professional-rtl template folders if you have the zip version
- Add the kohost-professional and kohost-professional-rtl folder
- View this screenshot:
Add Orderforms
Add the kohost_professional orderform to the orderforms folder
- Go to the path: /<your-public-root-directory>/whmcs/templates/orderforms
- Unzip the kohost_professional orderform folder if you have the zip version
- Add the kohost-profession folder
Add hooks to hooks folder
Add the hooks file in the hooks folder
- Go to the path: /<your-public-root-directory>/whmcs/includes/hooks
- Unzip the hooks folder if you have the zip version
- Add the hooks file in the hooks folder folder
Add language
Add language to the lang folder
- Got to the path: /<your-public-root-directory>/whmcs/lang
- Unzip the lang folder if you have the zip version
- Add the english.php file from the lang folder
Change Default Template and Orderforms
Change the default WHMCS template and orderform from admin panel. We can change our template and orderform from General setting but we can also set different orderform from the product group.
Change the default template from the general setting:
Click the setting icon right side of the navbar then click the general setting
Go to the general setting>general then select the template like kohost-professional
Change the default Orderform from General setting:
In this General settings click the tab Ordering then you can see the different types of the order form template. Now select the Kohost Professional. Check the below image:
After select, this then clicks the Save Change button.
Configure your price
Configure your product or price from WHMCS admin panel
First of all, login your whmcs admin panel then click the setting icon right side of the navbar> products/services follow the steps:
I hope you have already created product group name and under the group you have created single product package. If you don't have this package then you should create first. Then edit the single product package like bellow images:
Click the edit icon then you can see this bellow image. Copy this code and paste in the product description field like bellow image. You have to change the text or value based on your plan and follow for rest of the plan and product.
Change cart link from Domain Result Page
Open the domain-search-result.php from kohost/build folder and find the below code around line number 674
Change http://whmcs.themetags.com with your WHMCS base URL. If you have made the kohost-professional as your default theme then you can remove also systpl=kohost-professional& from the link.
How to setup WHMCS Multi-Currency?
Go to your admin panel then click the setting icon right side of the navbar. Then type "currencies" on the search box, then click on it. check this bellow image-
After clicking it, now you need to add your currency like this-
Need to fill up the currency code, Prefix, Format and Base Conv. Rate. We need this currency code in the currency hook file. Now click the Add Currency button.
What do we need to do for the multiple currency support?
- Need to add currency from here. The currency code is BDT.
- Add the currency code and flag in the currency hook
- Add the domain price for your currency
- Add the product/ service price for your currency
Configure Domain and Product Price For Multi-Currency
For multi-currency domain price configuration:
Go to do admin panel click the setting icon right side of the navbar then go to the domain price option like the bellow image.
After click domain pricing then you will go to the domain price-setting option. After clicking the pricing button domain then open a popup option now you can set your multi-currency price value. Check bellow image
NB: This option available after enabled the multi-currency option.
For multi-currency product, price configure:
Go to the product/services configure option then click the edit icon. check this image
After clicking the product edit option then click the price tab on the tab option bar. Check the image below.
NB: This option will be available after enabled the multi-currency option.
How to change WHMCS template logo
To customize or change the logo in the client area, log in to your admin panel and navigate to Help> Setup Wizard
After Open a popup box then click Next
Choose your logo .png or .jpg file then click Next. If you want to set up other settings like Payments, Domains, etc then you can keep clicking Next otherwise click on Next for only General and it will update your logo. Now you check your website.
If you have 2 different logos such as a colorful and white version, follow the below steps:
1. Rename your colorful logo with "logo-primary.png". We are saying it is the primary logo.
2. Rename your another logo with "logo-secondary.png". We are saying it is the secondary logo.
3. Upload logo-color.png and logo-white.png logo to "templates/{your template}/img/" folder
If you want to use a different name then rename the logo with your name and upload to the img folder (step#3). Also, you need to change the logo name in the template where we have used the logo. You will find: <your template>/includes/logo.tpl file.
How to manage home page Product Price
In this Hooks folder, you will get two PHP file "products.php" and "pricetable.php". Home page product price manages from those files.
Now go to your template folder open header.tpl file then you can see below section for the product price code.
How to add favicon
At first, add your favicon image in your templates/{your template name}/img folder. Make sure your favicon name will be favicon.png and height, the weight keeps the same like 80x80.