Hello,
my order mail override is not working. I have setup already 4 virtuemart stores and it the mail override worked in all other stores. but not in this one... :-(
I have copied the templates from
component/com_virtuemart/views/invoice/tmpl/mail_html_header.php to my Template
templates/my_template/html/com_virtuemart/invoice/mail_html_header.php
Joomla 2.5.9
VM 2.0.18a
The strange thing is that the link-preview shows my changes:
index.php?option=com_virtuemart&view=invoice&layout=mail_html&tmpl=component&order_number=xxx&order_pass=p_xxx
but not the email!
Any hints. Caching is deactivated.
Thanks!!!
Seagul
tmpl/mail.html.php
does your file use the new format? including the other files?
// 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');
?>
yes, it uses this format in tmpl/mail_html.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');
?>
is it mail.html.php or mail_html.php?
what happens when you edit the original one?>
it works, when I edit the original one.
All my other template overrides for the shop work. I started the shop development with a virtuemart-version in mid-October 2012. So, it was probably version 2.0.10 or 2.0.12.
??
http://forum.virtuemart.net/index.php?topic=100543.0;topicseen