Jump to content

Showing product description on invoices


suhailc

Recommended Posts

Hi,

 

How can I show both the product name as well as product description on invoices?

 

Currently the product description is only shown when signing up and the product name is shown under the invoice description.

 

As I'm creating custom hosting/server plans with different bundles, I want to be able to display what exactly the client is paying for on their invoices and under their client area.

 

Regards,

Suhail.

Link to comment
Share on other sites

I don't think WHMCS provides any other variables in the PDF config. Doing a var_dump($invoiceitems) in pdfconfig.php I see:

 

array(2) {
 [0]=>
 array(3) {
   ["description"]=> string(33) "Domain - xxxxxxxxx.xxx - 1 Year/s"
   ["amount"]=> string(5) "20.00"
   ["taxed"]=> string(1) "1"
 [1]=>
 array(3) {
   ["description"]=> string(33) "Domain - xxxxxxxxx.xxx - 1 Year/s"
   ["amount"]=> string(5) "35.00"
   ["taxed"]=> string(1) "1"
 }
}

Link to comment
Share on other sites

  • 1 year later...

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