VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: glasya on March 13, 2012, 09:36:38 AM

Title: How to alter the shipment invoice PDF content
Post by: glasya on March 13, 2012, 09:36:38 AM
Hello,

Our compagny requires atleast our compagny name to be displayed on the pdf generated invoice.
Currently this is not being done, however i cannot find out where i can add our name, which file do i have to edit for it?

J: 2.5.2
V: 2.0.2
Title: Re: How to alter the shipment invoice PDF content
Post by: jenkinhill on March 13, 2012, 10:11:11 AM
Look at the templates used for the invoice.
joomla_root/components/com_virtuemart/views/invoice/tmpl
Title: Re: How to alter the shipment invoice PDF content
Post by: glasya on March 13, 2012, 11:18:14 AM
Quote from: jenkinhill on March 13, 2012, 10:11:11 AM
Look at the templates used for the invoice.
joomla_root/components/com_virtuemart/views/invoice/tmpl

Thanks for the tip, i whas looking inside the administrator path.
It seems however that it concerns the components/com_virtuemart/views/orders/tmpl directory rather than the invoice one.

Now its a matter of attempting to alter the layout from the current 2.0.2 style to the 1.1.9 version which looks much more professional in my oppinion.
Title: Re: How to alter the shipment invoice PDF content
Post by: glasya on March 13, 2012, 14:37:13 PM
Well i managed to make a pretty similair clone to the 1.1.9 version, the only thing i can't seem to manage is to increase the font size, css commands don't seem to work.
Is the font size controlled by the pdf class?
Title: Re: How to alter the shipment invoice PDF content
Post by: jenkinhill on March 13, 2012, 18:02:55 PM
Sorry, I don't know, as I have not needed to edit it.