I've tried searching this up and can't seem to figure out how to edit the emails that go out to customer after they place an order in virtuemart. Running 2.x - please, not a programmer, so really simple talk ;D
Thx.
Dawn
Hi
Please check siteroot\components\com_virtuemart\views\invoice\tmpl there is file named mail_html.php
This is the file where the mail to the user go
Please check is it helpful for you..
I'm sorry, but it's not clear to me where / how you would edit the text for this ?
Thank you.
Dawn
Hi,
Well i have been looking and searching now for the past 4-5 hours on how to edit this email..... There seem to be plenty of people asking this question but nobody seems to be providing a correct answer.
So can one of the admin staff ect please give us all a correct workable answer to what should be a very simple solution to someone who knows about this.
I am running Joomla! 2.5.9, with VirtueMart 2.0.18a, and what i need to do is change at the bottom of the email that the customer gets when they have placed an order, where it says 'Total' i would like to put in brackets afterward the word (inc VAT) and also on the PDF attachment. Also could we have the file or files to edit please not just the folder.
Many thanks in advance for any help
Mark
HI
All the mail like this goes from the views invoice you may check it and make the changes as required
The email is made up of multiple templates in components/com_virtuemart/views/invoice/tmpl
starts with components/com_virtuemart/views/invoice/tmpl/mail_html.php which calls various other templates
<?php
// Shop desc for shopper and vendor
if ($this->recipient == 'shopper') {
echo $this->loadTemplate('header');
}
// Message for shopper or vendor
echo $this->loadTemplate($this->recipient);
// render shipto billto adresses
echo $this->loadTemplate('shopperaddresses');
// render price list
echo $this->loadTemplate('pricelist');
// more infos
echo $this->loadTemplate($this->recipient . '_more');
// end of mail
echo $this->loadTemplate('footer');
?>
These templates load other templates e.g mail_html_pricelist.php loads invoice_items.php
if your just changing texts use the language files e.g. COM_VIRTUEMART_ORDER_PRINT_TOTAL in language/en-GB/en-GB.com_virtuemart.ini etc