VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Gingerweb on April 03, 2023, 18:37:46 PM

Title: Order invoice and email layout
Post by: Gingerweb on April 03, 2023, 18:37:46 PM
VirtueMart 4.0.14 10805
The iStraxx invoice from extensions.virtuemart.net is a great example of how i would like mine to be but im struggling to get it right.
It is the area that might be the footer but doesnt seem to be affected by the "Invoice Footer" section in the tab "Shop" it is now empty but the footer is still displayed so im obviously looking at the wrong part.
To make it as simple as possible i just want to remove the section in red from displaying

https://prnt.sc/td5D9LykZwBe

I know this is the vendor name and shop name with the shop descrtiption underneath so maybe if i can find out where this comes from i might be able to edit it?

thanks
Title: Re: Order invoice and email layout
Post by: GJC Web Design on April 04, 2023, 11:32:26 AM
just over ride the \components\com_virtuemart\views\invoice\tmpl\mail_html_footer.php and leave it blank or add a footer there
Title: Re: Order invoice and email layout
Post by: Gingerweb on April 04, 2023, 12:10:24 PM
Thanks very much -
editing that file fixes the issue but i setup an override file in /public_html/templates/template_name/html/com_virtuemart/sublayouts and it doesnt work, should i put the override somewhere else?
Title: Re: Order invoice and email layout
Post by: GJC Web Design on April 04, 2023, 12:13:27 PM
\templates\xxxxx\html\com_virtuemart\invoice\
Title: Re: Order invoice and email layout
Post by: Gingerweb on April 04, 2023, 12:16:44 PM
YES!
thats perfect thanks, there wasnt a directory called invoice but i added it and it works, thank you so much for your help!