Jump to content

How to show the complete product description in a invoice?


tomb

Recommended Posts

The product name should form part of the Product Name from the Products / Services

Including the product description should already appear in the HTML

However some of the Ordering templates remove this, so please advise which template you are using

 

To add this to the PDF, edit the invoicepdf.tpl file

However noone seems to have solved this, it has been asked numerous times :

http://forum.whmcs.com/showthread.php?t=38872

http://forum.whmcs.com/showthread.php?t=35612

http://forum.whmcs.com/showthread.php?t=7421

 

Clearly the required text needs to be inserted into this section, but the fieldname (from MySQL) is also description

foreach ($invoiceitems AS $item) {

$rowcount = $pdf->getNumLines($item['description'], 140)+1;

   if ($pdf->GetY()+($rowcount*5)>260) $pdf->AddPage();

$pdf->MultiCell(140,$rowcount * 5,$item['description'],1,'L',0,0);
$pdf->MultiCell(40,$rowcount * 5,$item['amount'],1,'C',0,0);

Link to comment
Share on other sites

Thanks for your effort and the code snippets.

 

This is must-have feature. How do you call your hosting plan? How do you separate your hosting plans when you sell different products? By hosting name e.g. PowerHosting XY, 10GB

The only workaround seems to be using a very long product name?

 

 

The product name should form part of the Product Name from the Products / Services

Including the product description should already appear in the HTML

 

Unfortunately it even doesn't show up in the html invoice? Is there any kind of option I might have disable?

Link to comment
Share on other sites

I've used various product names, for hosting

 

When I started using WHMCS I had product names :

Basic

Economy

and so on

 

I replaced these with just the amount of webspace, as a customer survey suggested this was preferred

They are now :

100MB

200MB

and so on

 

On the invoice these display as (example) :

100MB - domain.name (xx/xx/2012 - xx/xx/2013)

Managed Website Hosting : No [price]

Domain Name Renewal - domain.name - 1 Year (xx/xx/2012 - xx/xx/2013) [price]

Total : [price]

 

Not sure how anything can be missing from the Invoice and/or PDF attachment

The product name should appear exactly as setup in the product name

 

The only issue I can see is if you have products with the same name

Edited by m8internet
Link to comment
Share on other sites

yes, currently we're also using custom names. Than we might use e.g BasicXY 100MB, 10GB Traffic as a quick workaround.

 

No, the product name shows up in html/pdf invoice. You've mentioned that the product description should appear in the html invoice?

Link to comment
Share on other sites

You've mentioned that the product description should appear in the html invoice?

No, the product description appears in the HTML, not the email as the emails are plain text only

However it does not appear in all HTML as it depends on which template you are using

I noticed this when swapping between them

 

For invoices I don't see the benefit of product description, all the customer needs to know is they are being invoiced for the hosting with product name and/or Domain Name

 

I've never seen it on any of the invoices I receive (from other suppliers) or any of the other invoices I issue to clients (for the other businesses I operate)

Examples :

A -

20 x A4 binders

Go to the website and it describes all about A4 binders

B -

Milk Supply 10 February [price]

Milk Supply 11 Feburary [price]

However the delivery note for each day shows what was delivered on that day, the invoice only shows the summary and amount due

Edited by m8internet
Link to comment
Share on other sites

  • 4 months later...

I am wondering why we can't have the descriptions added to the product names when you use a premade product with the line item drop down.

 

I really enjoy WHMCS but I use it for invoicing as little as possible for my web design company, because it would take me forever to add each product description for all the quotes and invoices I create daily.

 

Is mine just broken or is this really not a option? And if it is not a option any suggestions on fixing this to do so?

 

Thanks! :)

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