Jump to content

Display dedicated IP field on Invoice template


sohailahmed160

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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:

  1. Go to the "Templates" folder in your WHMCS installation directory.

  2. Find the invoice template file that you want to modify. By default, this is usually located in the "invoices" folder.

  3. Open the invoice template file in a text editor.

  4. 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.

  5. Insert the following code to display the dedicated IP field:

{$dedicatedip}
  1. Save the template file and upload it back to the "Templates" folder in your WHMCS installation directory.

  2. 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated