News:

Support the VirtueMart project and become a member

Main Menu

Remove the default footer from HTML emails

Started by ncopeman, October 02, 2013, 17:26:39 PM

Previous topic - Next topic

ncopeman

Hi all, apologies if this has already been covered in previous posts. I've done a search but not found anything so far.

When shopper html emails are sent, the default footer has:

Thank you for Shopping at Shop name and link
Shop name
Shop name

It looks really nasty and repetitive and i'd love to get rid of all three lines if anyone can point me in the right direction?

I'm looking for the code in /components/com_virtuemart/views/invoice/tmpl/mail_html_footer.php but not entirely sure if this is the correct file.

Any help would be greatly appreciated!

I'm using VM 2.0.22C - (Not ready to update to 2.0.24 just yet)

Many thanks!!
N


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

ncopeman

Many thanks for the reply but this is the first thing I checked when the invoice tab became available. There doesn't seem to be an option not to show this detail.

I'm only showing the VAT registration number and Company registration number in my footer... I'm guessing the 3 lines are hard coded into the file somewhere. Can you point me to the code so I can remove it?

Many thanks

Maxim Pishnyak

Quote from: ncopeman on October 02, 2013, 17:26:39 PM
When shopper html emails are sent, the default footer has:

Thank you for Shopping at Shop name and link
Shop name
Shop name

It looks really nasty and repetitive and i'd love to get rid of all three lines if anyone can point me in the right direction?

I'm looking for the code in /components/com_virtuemart/views/invoice/tmpl/mail_html_footer.php but not entirely sure if this is the correct file.
Correctly changed file must be placed in template overrides.

Did you see
/* GENERAL FOOTER FOR ALL MAILS */
in this file?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

ncopeman

Many thanks, I missed the /* GENERAL FOOTER FOR ALL MAILS */

I've now commented out the code below on line 35 and tested. Now I only have the one line on email confirmation, "Thank you for shopping at XxXXX' which looks great!

echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />';

Thanks again

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart