News:

Looking for documentation? Take a look on our wiki

Main Menu

Which PDF library does VirtueMart use to get PDF's so accurate?

Started by mailblade, November 28, 2018, 14:34:08 PM

Previous topic - Next topic

mailblade

I was wondering which PDF library/component VirtueMart uses to generate the PDF's.

It keeps all the formatting, styling etc. of your order details view and transfers it onto the PDF.

If someone could point me to the file which handles all this I'd appreciate it.

StefanSTS

Hello,

the library is called TCPDF.

The files you are looking for are located in /components/com_virtuemart/views/invoice/tmpl/
There are four files with the beginning invoice.

Overrides should be placed in the template folder adding .... /html/com_virtuemart/invoice/

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

mailblade

Thanks a lot StefanSTS!

Will look into tcpdf and those files a bit more.