Post by TEXSBM » Tue Nov 16, 2010 10:16 am

I would like to remove the Header image and the attached image on the order confirmation email.

How do I remove both?

Thanks,
Mark

Newbie

Posts

Joined
Fri Aug 27, 2010 8:26 am

Post by JAY6390 » Wed Nov 17, 2010 1:42 am

OPEN:

Code: Select all

/catalog/model/checkout/order.php
FIND:

Code: Select all

$template->data['logo'] = 'cid:' . basename($this->config->get('config_logo')); 
AND REMOVE

FIND

Code: Select all

$mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); 
AND REMOVE, THEN SAVE


OPEN:

Code: Select all

/catalog/view/theme/your-theme-name/template/mail/order_confirm.tpl
FIND:

Code: Select all

  <tr>
    <td align="left"><a href="<?php echo $store_url; ?>" title="<?php echo $store_name; ?>"><img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" style="border: none;" ></a></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
AND REMOVE, THEN SAVE

Note that the final part depends on the template, that is from the default template

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 16 guests