News:

Support the VirtueMart project and become a member

Main Menu

How to alter the shipment invoice PDF content

Started by glasya, March 13, 2012, 09:36:38 AM

Previous topic - Next topic

glasya

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

jenkinhill

Look at the templates used for the invoice.
joomla_root/components/com_virtuemart/views/invoice/tmpl
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

glasya

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.

glasya

#3
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?

jenkinhill

Sorry, I don't know, as I have not needed to edit it.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum