VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Thomsterdam on November 11, 2013, 17:55:42 PM

Title: preview full invoice.pdf
Post by: Thomsterdam on November 11, 2013, 17:55:42 PM
Hi there,

Been looking for a while, can't find the answer (yet).

How can I preview the invoice.pdf that I am sending to my customers. I have found the template in Shop > shop > invoices. The only thing I can see there is a button to preview the header and footer of the invoice.pdf  I can't preview a full 'sample' invoice.pdf. 

We have a 'live' Virtuemart shop and the only way I know I can receive an invoice.pdf is by buying something from the shop and have the invoice.pdf sent to my by mail. This seems a bit much, especially if you are changing something in the template and then want to have a look what the result will be... change a bit more, etc. etc.

Have I missed a feature of Virtuemart? Or is it simply not possible? Or is there a workaround?

Thanx,


Thomsterdam
Title: Re: preview full invoice.pdf
Post by: Maxim Pishnyak on November 11, 2013, 23:42:40 PM
You could check printable version of order. For true pdf invoice testing your need to delete file in vmfiles folder each time.
Title: Re: preview full invoice.pdf
Post by: jenkinhill on November 11, 2013, 23:47:35 PM
I use the invoice button in the orders list print view column to generate a copy which is downloaded to me, so it has real order data to view/check.  (VM2.0.24)
Title: Re: preview full invoice.pdf
Post by: Thomsterdam on November 12, 2013, 15:32:14 PM
Hi there,
Thanx both of you for your answers.

I may be missing something, but I can't find the "invoice button in the orders list print view column" in my store, so I cannot "generate a copy which is downloaded to me". Where is that button supposed to be?

I am using the default virtuemart (2.0.24) templates and I am using the beez5 template for the 2.5.16 site. If you want, you can have a look at the site I'm working on: http://abonnementen.dutchabroad.nu This is the test site, nót the 'live' site.

Thanx,


Thomsterdam
Title: Re: preview full invoice.pdf
Post by: jenkinhill on November 12, 2013, 15:58:47 PM
See here:

[attachment cleanup by admin]
Title: [SOLVED] Re: preview full invoice.pdf
Post by: Thomsterdam on November 12, 2013, 16:13:50 PM
Hi there,

Thanx for your quick answer......... I hadn't thought of the administrator side of the website....

Thanx a million!


Thomsterdam