3 replies [Last post]
mathieu@crabapplefloral.com's picture
Offline
Joined: 02/06/2012
Juice: 15
Was this information Helpful?

Not sure when or how this happened as I haven't done much to my site in a long time, but if I try to print an invoice (admin/store/orders/id/invoice/print) all it displays is my business name, slogan, and address at the top. The rest of the page is blank. I'm running D6 with latest Ubercart version.

I've searched for threads but couldn't find any on this topic, which makes me think it's an easy fix. I just can't find it.

Thx for your suggestions.

Free Bird

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: Order Invoices Do Not Display Properly

Display problems like this are almost always a problem with your theme.

Try it with a generic theme (like Garland) and see if the problem persists.

If that doesn't do it, some more troubleshooting would be in order. Try getting the (non-printed) regular invoice, enabling error messages, and so forth, then come back with screen shots.

mathieu@crabapplefloral.com's picture
Offline
Joined: 02/06/2012
Juice: 15
Re: Order Invoices Do Not Display Properly

Thanks Dan. Turns out the problem was that I was using a custom invoice template, which works perfectly for e-mailed customer invoices, but not for viewing/printing Invoices through the 'Orders' admin area.

Would be great if it could use the custom invoice template I created. Is that possible?

Free Bird

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Quote: Would be great if it
Quote:

Would be great if it could use the custom invoice template I created. Is that possible?

Well, obviously not, as it doesn't work. You'll have to fix it, first, or use a different one.

There's a document and a module for dealing with custom invoice templates. Maybe that will help you. See http://drupal.org/node/1867700 and https://drupal.org/project/uc_register_invoice.