VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: FDigital01 on June 11, 2014, 07:22:31 AM

Title: how to modify invoices and invoice pdf
Post by: FDigital01 on June 11, 2014, 07:22:31 AM
joomla 2.5.2
virtuemart 2.6.6

i have tried unsuccessfully to try to remove the discount column and rename the qty and  price columns.

I am amazed that it is still so difficult to edit and manage the layout of the invoices and orders as this is probably one of the most important things this product should be able to do - easily.

can anyone give me a straight forward answer (if one in fact exists) to modifying the invoice and order forms.

thanks.
Title: Re: how to modify invoices and invoice pdf
Post by: reinhold on June 11, 2014, 09:45:26 AM
Copy the file components/com_virtuemart/views/invoice/tmpl/invoice_items.php to templates/[YOURTEMPLATE]/html/com_virtuemart/invoice/invoice_items.php and adjust the file there to your needs. This makes sure that a VM update will not overwrite your changes (in Joomla terms it is called "Template override").

If you want to modify the invoice address display, you'll need to do the same with the file invoice_order.php.

Best regards,
Reinhold