VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: nickg on November 10, 2018, 13:51:34 pm

Title: no preview of the invoice
Post by: nickg on November 10, 2018, 13:51:34 pm
Hello

In VM Control Panel - Shop - Invoice
I made changes and saved them, but the preview of the invoice is still empty in firefox
Where is the problem ?
thank you

 VM VirtueMart3.4.2
joomla 3.9
Title: Re: no preview of the invoice
Post by: GJC Web Design on November 10, 2018, 14:06:55 pm
It is broken .. will be fixed in the next release - perhaps already fixed in the VM3.4.3 ( experienced user pre release)

Just produce pdfs to check changes .. then delete them from your safe path and try again etc
Title: Re: no preview of the invoice
Post by: nickg on November 10, 2018, 14:13:39 pm
how to produce pdfs to check changes in VM Control Panel - Shop - Invoice ?
Title: Re: no preview of the invoice
Post by: jenkinhill on November 10, 2018, 14:27:07 pm
Orders & Shoppers/Orders/Print View  generates pdf
Title: Re: no preview of the invoice
Post by: nickg on November 10, 2018, 14:39:57 pm
yes I can generate a pdf when an order has been made.
But how to see a preview without making an order?

I updated  to VirtueMart 3.4.3  Same problem, the preview of the invoice is still empty in firefox
Title: Re: no preview of the invoice
Post by: StefanSTS on November 10, 2018, 17:43:30 pm
Hi,

if you want to test your PDFs properly, make an order and do what GJC described.
I worked more than 300 hours on invoice layouts, trust me, it's the only reliable way.

Stefan
Title: Re: no preview of the invoice
Post by: nickg on November 10, 2018, 18:01:32 pm

Hello,
Sorry I am a beginner and it is not obvious with VM.
So to see the layout I have to place an order testy each time it is not very practical. Especially when the invoice preview does not work in VM Control Panel - Shop - Invoice.
The last update still does not solve the problem is it strange
Title: Re: no preview of the invoice
Post by: StefanSTS on November 10, 2018, 18:57:24 pm
The preview is merely an HTML preview of what to expect. Just forget about it. It's useful for other things, but not to preview the PDF invoice.

If you read GJCs comment carefully, you can just delete the old PDF in the invoice folder in the safe path. After that you can press the button in the order list on the old order again and the PDF will be generated again.
So testing the new PDF takes just a few seconds. Delete the old one, press a button, get the new one.

Title: Re: no preview of the invoice
Post by: nickg on November 10, 2018, 20:33:12 pm
You say : "If you read GJCs comment carefully, you can just delete the old PDF in the invoice folder in the safe path."
Could you tell me where I can delete the old PDF. I'm not really familiar with VM
Thank you
Title: Re: no preview of the invoice
Post by: GJC Web Design on November 10, 2018, 21:43:07 pm
Quote
from your safe path
where your invoices are stored
Title: Re: no preview of the invoice
Post by: nickg on November 10, 2018, 21:50:29 pm
I just got it. I watched in FTP all VM files and found. Thank you for your patience