Questions tagged [whmcs-invoice-template]

17 questions
2
votes
1 answer

Error when rendering .tpl file from SQL query

I'm trying to get a result from a MySQL database and display selected values into a .tpl template file. This is what I tried so far: {php} $clienthosting = $this->get_template_vars(service);//Here is where the exception is thrown $dbid =…
Dr.MTR
  • 207
  • 7
  • 19
2
votes
1 answer

custom font not working whmcs

We are trying to add the https://fonts.google.com/specimen/Abel in WHMCS 7.1.2 invoice pdf. Initially we have tried with direct font conversion like below and its not working. $fontname = TCPDF_FONTS::addTTFfont('/templates/six/Abel-Regular.ttf',…
2
votes
2 answers

how to change WHMCS url by country

I am new in whmcs and I want to change the URL by country. If a customer from the India has a URL like:- http://example.com/in/ or from the UK have a URL like http://example.com/uk/. I am trying this .htaccess file but it is not…
jhon
  • 188
  • 1
  • 15
1
vote
1 answer

Get PHP data on TPL file

I am new to WHMCS and php and i would like to add a new custom php file that displays all the tlds and their pricing ... For that, i have created a new file : domainList.php under /public_html/ directory : domainList.php
veolio
  • 11
  • 1
1
vote
1 answer

define custom WHMCS invoice status

I need to create a custom invoice status for "Disputed" payments. I found an article that said to just modify the status column in the DB table 'tblinvoices' with the desired status, but doing this doesn't register that as a status in the sense that…
1
vote
2 answers

how to show the product price in template with currency (WHMCS)

I need, when user currency change this time automatically price change the related with the active current.

Starting At {if $currency=2 } // currency id = 2// Rs 1.19 {else} $…

susanto
  • 57
  • 10
1
vote
2 answers

How to get product group details in WHMCS invoice template file invoicepdf.tpl?

I am customising WHMCS invoice template using invoicepdf.tpl. It is a PHP script basically arrange data in HTML format and convert it to PDF. I can only see client info and invoice details in that file. How can I take product group details there?
Harikrishnan
  • 9,688
  • 11
  • 84
  • 127
0
votes
0 answers

WHMCS : How to add domain checker in configurable options

Now i'm looking to add a domain checker on configurable options (WHMCS) but i didn't found it, Can someone help me please. Best regards.
0
votes
1 answer

WHMCS - Add client name and email to Affiliates Page

my clients need this information on the affiliate page, can you help me add this information by changing affiliates.tpl or some other way? Thanks. Informations: Name and e-mail Below is the code, I just want to add the information so that my…
0
votes
1 answer

What is the index hook for configure product page

i am trying to find the index hook of this button "continue" in this url "/cart.php?a=confproduct&i=0". according to the following list index hook, i want to find the index corresponding. image button thanks
0
votes
0 answers

Show dedicated ip into customer invoice WHMCS

I searched into Stackoverflow for my work that I want to do, and found this thread helpful, but seems that is not working properly. What do I? Created a hook into /includes/hooks/ with this code: foreach ($vars['invoiceitems'] as $k => $item)…
DrMTR
  • 499
  • 1
  • 14
  • 35
0
votes
1 answer

Display Dedicated IP into viewinvoice.tpl and invoicepdf.tpl in WHMCS?

Hi stack i have one issue that dont know how to resolve. I want to show Dedicated IP from customer order to show like this: I make a short check, and found that need to be done into viewinvoice.tpl and invoicepdf.tpl files. i found that dedicated…
Dr.MTR
  • 207
  • 7
  • 19
0
votes
2 answers

How to display elements inline?

Hi i have small problem with CSS that dont know how to resolve. On my WHMCS template i wanted to implement one element more, and now one element goes in row bellow (Get support). How to fix this? This is CSS from that element: .home-shortcuts…
Dr.MTR
  • 207
  • 7
  • 19
0
votes
1 answer

WHMCS Remove "Country" selector from checkout page

i work on WHMCS customizations, and want to hide Contry selector field. I tryed to comment county from template, and field are not shown, but when try to checkout, i got this error: Please correct the following errors before continuing: Please…
Dr.MTR
  • 207
  • 7
  • 19
0
votes
1 answer

WHMCS Separate Quote & Invoice Templates (Multibranding)

We are looking for a possibility of sending quotes and invoices with different layouts for different clients in WHMCS. Practically we want to have two brands that coexist in WHMCS and generate quotes and invoices with different logo and address for…
1
2