News:

Support the VirtueMart project and become a member

Main Menu

how can i change my print invoice ?

Started by s1r101, March 07, 2014, 15:32:39 PM

Previous topic - Next topic

s1r101

hi
first sorry for my little English

in my virumemart how can i edit print structure?

i can find all file here:
\components\com_virtuemart\views\invoice\tmpl

but i do not know that Which file should I edit?

I just want to change the printed invoice
I've shown in the picture below
http://up.rzdownload.com/2013/01/139420249132262.jpg


I wanna be a factor, as shown below.
http://up.rzdownload.com/2013/01/139420249059831.jpg

thanks a lot

Mod edit:  impatient bump message removed. Please read http://forum.virtuemart.net/index.php?topic=104795.0


K&K media production

#1
You must edit

invoice.php
invoice_order.php
invoice_items.php

make it with overrides
http://forum.virtuemart.net/index.php?topic=90935.0

and if only the HTML print view should be changed, you need some things twice for HTML and pdf view

you can use

if ($this->print and $this->format=="html") {

} else {

}