VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Renata on March 23, 2012, 10:53:37 AM

Title: changing standard e.mail footer after ordering
Post by: Renata on March 23, 2012, 10:53:37 AM
Dear all

I have tried everything. Problem is that in the standard HTML e.mail footer (the mail which is sent to the customer after he has ordered via shopping cart) the company name (vendor) is shown three times:

Met vriendelijke groetTuinboeken.com
Tuinboeken.com
Tuinboeken.com

I would like to remove the last two ones.

I have tried to change following views/ of mail_html_footer:

in cart/tmpl
in orders/tmpl

But nothing changes

Where exactly to i need to make changes in order to let disappear the last two vendor names?

I hope you can help me.

Thanks in advance
Kind regards
Renata
Title: Re: changing standard e.mail footer after ordering
Post by: Zegenrijk on March 23, 2012, 12:56:20 PM

It is located in the file: /public_html/components/com_virtuemart/views/invoice/tmpl/mail_html_footer.php
Title: Re: changing standard e.mail footer after ordering
Post by: Renata on March 23, 2012, 13:48:39 PM
Thank you! This is it.

Now i have to figure out what to remove. Now after changing all footer is gone, but the fact that it is gone it means this is the right document to change.

Thanks again,

Kind regards
Renata
Title: Re: changing standard e.mail footer after ordering
Post by: powpow12 on December 13, 2013, 02:35:01 AM
This should do the trick

replace


echo JText::_('COM_VIRTUEMART_MAIL_FOOTER' ) . '<a href="'.$link.'">'.$this->vendor->vendor_name.'</a>';
        echo '<br/>';
echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />';*/


with....


echo JText::_('COM_VIRTUEMART_MAIL_FOOTER' ) . '<a href="'.$link.'">'.$this->vendor->vendor_store_name.'</a>';


Anyone have any luck overriding it?