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?
You have to use a whmcs invoice hook( https://developers.whmcs.com/hooks-reference/invoices-and-quotes/ ). For example:
Then in the hook you can request the data you want from tblproductgroups or any other table if needed.