VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: alinajenon on January 05, 2015, 19:34:53 PM

Title: SOLVED: Emailed Invoice: How to edit Mainbody content?
Post by: alinajenon on January 05, 2015, 19:34:53 PM
Hi,

I have figured out how to edit the footer and header for the email that is sent to customers after they complete a purchase. However, I can't seem to figure out how/where to edit the main body. The area just above the footer, has excessive words and is entering the wrong phone number.

Specifically, this is the content I would most like to edit (found just above the footer):

"Thank you for purchasing at North American Safety FR
North American Safety FR
555-555-1212 North American Safety FR"

Thank you for any suggestions you have. I've attached a screenshot of the email.

Using
VM: 2.6.10
Joomla: 2.5.27
website: http://www.ordersafetyfr.com


[attachment cleanup by admin]
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: GJC Web Design on January 05, 2015, 20:25:35 PM
perhaps
components\com_virtuemart\views\invoice\tmpl\mail_html_vendor.php

or
components\com_virtuemart\views\invoice\tmpl\mail_html_vendor_more.php

??
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: alinajenon on January 06, 2015, 19:05:27 PM
hmm... I tried that, but nothing seemed to change... ergh. I feel like this should be such a simple answer, but I can't figure it out. Thanks for the suggestion.
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: jjk on January 06, 2015, 20:14:22 PM
I think you have to look into the text fields at VirtueMart > Shop > Vendor tab (Description, Terms of Service, Legal Information) and also read the last line in the 'Invoices' tab.
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: alinajenon on January 06, 2015, 21:57:05 PM
Hi jjk,

Thank you. That worked for part of it. However, I still can't seemed to change this area...

Thank you for purchasing at North American Safety FR
North American Safety FR
555-555-1212 North American Safety FR

Any other thoughts?
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: jjk on January 06, 2015, 23:22:19 PM
Quote from: alinajenon on January 06, 2015, 21:57:05 PM
Any other thoughts?
No other idea at the moment, except checking the templates GJC Web Design mentioned above already. Do you use a third party invoice extension?
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: alinajenon on January 06, 2015, 23:48:15 PM
No third party that I am aware of... the templatemonster support staff sent me to change it here:

updatesmigration.php file from  administrator\components\com_virtuemart\models\ folder (this is where the 555-555-1212 language is found next to $fields['vendor_phone'] = )

But when I edited it, saved, and tested the check out/invoiced email ... I still had teh 555-555-1212 show up in my emailed invoice.
Title: Re: Emailed Invoice: How to edit Mainbody content?
Post by: alinajenon on January 07, 2015, 18:38:50 PM
finally figured it out...

it was almost the components\com_virtuemart\views\invoice\tmpl\mail_html_vendor_more.php, but instead of vendor, it was the mail_html_footer.php file.

Thanks for everyone's suggestions!
Title: Re: SOLVED: Emailed Invoice: How to edit Mainbody content?
Post by: GJC Web Design on January 07, 2015, 20:02:22 PM
AAAAAAAAAAAARRRRRRRRRRRGGGGGGGGGG

of course -- _vendor is the one sent to the vendor - sorry - had brain fade..