News:

Looking for documentation? Take a look on our wiki

Main Menu

Editing the order confirm email

Started by MaHe29, January 24, 2012, 11:51:53 AM

Previous topic - Next topic

MaHe29

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.

design609



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

MaHe29

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.

antonio

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?

jenkinhill

The files are now in /components/com_virtuemart/views/invoice/tmpl/
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

antonio


stawebnice

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

PRO

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?

stawebnice

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!

FelixR

Pete Rossetti
Perfect Hosts
Chester UK

Currently using VM3.0.14 on Joomla 3.4.8