VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: MaHe29 on January 24, 2012, 11:51:53 AM

Title: Editing the order confirm email
Post by: MaHe29 on January 24, 2012, 11:51:53 AM
I would like to edit the logo size of the confirmation email when placing an order.
I would like to ad a page wide header image. So gues i need to edit the php file of the confirmation email.
Adjusting the logo image size.
Can someone please tell me where i can find the fille i need to edit.
Title: Re: Editing the order confirm email
Post by: design609 on January 26, 2012, 02:40:07 AM


Use FTP
Go to file:
yourdomain.com/components/com_virtuemart/views/cart/tmpl/mail_html_header.php

Download a copy to local machine

Go to your template folder and template (create or use the folder "html" within there)
yourdomain.com/templates/yourtemplate/html/

in this folder create folders:
com_virtuemart/cart/

So now you have path::::::::::::
yourdomain.com/templates/yourtemplate/html/com_virtuemart/cart/

Inside here you upload the file you downloaded
mail_html_header.php

So now we have on the server:
yourdomain.com/templates/yourtemplate/html/com_virtuemart/cart/mail_html_header.php

Edit this file (template override)

eg.
Upload a large image to your server
yourdomain.com/templates/yourtemplate/images/mybiglogoheader.jpg
put the html in the above file (remove the former ref to vendor logo)
Remember absolute url for images in emails.

Cheers
Title: Re: Editing the order confirm email
Post by: MaHe29 on January 26, 2012, 09:24:22 AM
Thanx mate for the extensive reply! (making me understanding template edit's the correct way).
I've kinda worked around it for now by replacing the resized image (90x90) by the large logo header image.
Title: Re: Editing the order confirm email
Post by: antonio on January 31, 2013, 09:36:11 AM
Hello
sorry to resume an old thread but I was looking to find the order confirm email to edit and there is no yourdomain.com/components/com_virtuemart/views/cart/tmpl/mail_html_header.php file into Virtuemart 2 directory
was it moved into latest versions?
Title: Re: Editing the order confirm email
Post by: jenkinhill on January 31, 2013, 10:32:59 AM
The files are now in /components/com_virtuemart/views/invoice/tmpl/
Title: Re: Editing the order confirm email
Post by: antonio on January 31, 2013, 10:49:37 AM
Thanks a lot!  ;)
Title: Re: Editing the order confirm email
Post by: stawebnice on January 07, 2014, 21:48:41 PM
Hi,

I have one problem with the confirmation email - it includes the eshop info that is normally placed here: Shop - Vendor - Description.

It should only be visible on homepage but somehow it's inserted into the email.

I checked the email templates but can't figure out what line in what file displays this in the email.

can you possibly advise? It's virtuemart 2.0.20b.

thank you!

Petra
Title: Re: Editing the order confirm email
Post by: PRO on January 08, 2014, 03:02:16 AM
Quote from: stawebnice on January 07, 2014, 21:48:41 PM
Hi,

I have one problem with the confirmation email - it includes the eshop info that is normally placed here: Shop - Vendor - Description.

It should only be visible on homepage but somehow it's inserted into the email.

I checked the email templates but can't figure out what line in what file displays this in the email.

can you possibly advise? It's virtuemart 2.0.20b.

thank you!

Petra

go into shoppers, and then go to your user.

Do you see all the options in the "invoices" tab?
Title: Re: Editing the order confirm email
Post by: stawebnice on January 08, 2014, 11:18:03 AM
Hi,
I already found it in the email template:
had to remove this:
'.$this->vendor->vendor_store_desc.'

in components/com_virtuemart/views/invoice/tmpl/mail_html_footer.php

Thank you!
Title: Re: Editing the order confirm email
Post by: FelixR on April 25, 2014, 16:39:49 PM
Just what I was looking for

thanks