sohailahmed160 Posted December 22, 2022 Share Posted December 22, 2022 Hello, Can anyone help me display dedicated IP for VPS/Servers category services on the respective invoices? I have read on other post that this can be implemented using hooks, but will it show on PDF generated invoices as well? Looking for a permanent solution for both Invoice template & PDF invoice template. Can anyone help me code the above hook? Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
ShahidMalla Posted December 31, 2022 Share Posted December 31, 2022 To display the dedicated IP field on an invoice template in WHMCS, you will need to modify the invoice template file. Here are the steps you can follow: Go to the "Templates" folder in your WHMCS installation directory. Find the invoice template file that you want to modify. By default, this is usually located in the "invoices" folder. Open the invoice template file in a text editor. Locate the section of the template where you want to display the dedicated IP field. This could be in the header, footer, or body of the template. Insert the following code to display the dedicated IP field: {$dedicatedip} Save the template file and upload it back to the "Templates" folder in your WHMCS installation directory. Test the changes by generating a new invoice and checking to see if the dedicated IP field is displayed correctly. Keep in mind that modifying the invoice template file requires some knowledge of HTML and PHP. If you are not comfortable making these changes, it may be best to seek the assistance of a developer or professional. I hope this information is helpful in displaying the dedicated IP field on your invoice template in WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.