VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: SINNISTER on July 04, 2012, 16:47:52 PM

Title: how do I edit invoice structure?
Post by: SINNISTER on July 04, 2012, 16:47:52 PM
Hi All,

Before you get all up in arms, I have read all the other posts on the forum regarding editing the invoice, BUT i dont have the directory in my template file, is it fine to just create the directory?

Which file do i need to edit to make the invoice which comes Via mail look more structured and better.

Thanks
Title: Re: how do I edit invoice structure?
Post by: david.kwock on July 05, 2012, 05:17:43 AM
You can find all you need from here:
\components\com_virtuemart\views\invoice\tmpl
Title: Re: how do I edit invoice structure?
Post by: SINNISTER on July 05, 2012, 08:10:23 AM
Could someone direct me as to which file i should modify?

There are +- 20 files.

Thanks
Title: Re: how do I edit invoice structure?
Post by: Yesceeohhh on July 05, 2012, 11:23:58 AM
May i know which template you are using?
Title: Re: how do I edit invoice structure?
Post by: SINNISTER on July 05, 2012, 12:16:24 PM
HI,

I am using a custom template.

Thanks
Title: Re: how do I edit invoice structure?
Post by: SINNISTER on July 05, 2012, 14:02:38 PM
All i'd like to know is which file do i edit to change the order form that me as the store owner receives.

Thanks

Mod edit:  impatient bump message removed.  http://forum.virtuemart.net/index.php?board=114.0
Title: Re: how do I edit invoice structure?
Post by: david.kwock on July 10, 2012, 04:28:58 AM
yes create template override like this:
\root\templates\cupcake\html\com_virtuemart\invoice

and copy those file from the VM component folder to the template override location:
mail_html_vendor - within this file you can edit the header part of vendor email.
mail_html_shopperaddresses, mail_html_pricelist - I think these two file are shared for both of vendor and customer's email.

If you want to display something only for vendor, you can edit mail_html_vendor only.
Title: Re: how do I edit invoice structure?
Post by: BaidareW on July 10, 2012, 10:11:22 AM
As default invoice - order confirmation templates looks awful, maybe there is some custom made templates only for this part ? Maybe there is a way to add VM1 style to invoices ?

Thanks.