Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Send an HTML Order Shipped Email


Guest

Recommended Posts

HTML email for new customer orders was covered in a post a few months back but it also works for order status change email from admin!!

 

At around line 1098 in catalog/admin/includes/functions/general.php find

 

 // Build the text version
   $text = strip_tags($email_text);

 

Directy after it add

 

// Customizing the HTML version of the message
   $email_text = '<body style="width: 100%; padding: 0px; margin: 0px; background-color: #ffffff;">
<div style="padding: 0px; background-color: #999999; direction: ltr; font-family: verdana; font-size: 8px;"><div align="center">SUBARU IMPREZA MITSUBISHI LANCER EVOLUTION WALBRO FUEL PUMPS SX FUEL PRESSURE REGULATORS FRONT MOUNT INTERCOOLERS TOP MOUNT IC HEADERS INJECTORS</div><div style="padding: 0px; margin: 0px; background-color: #cccccc; direction: ltr; font-family: verdana; font-size: 1px;">
<img src="http://www.flat4online.co.uk/catalog/images/ebayflat4onlineheader.JPG" width="780" height="100" border="0" ></div><div style="padding: 0px; margin: 0px; background-color: #cccccc; direction: ltr; font-family: verdana; font-size: 1px;"> </div><img src="http://www.flat4online.co.uk/catalog/images/bg2.gif" width="100%" height="16" border="0" ></div> </div>
<div lang="he" DIR="ltr" style="padding: 10px; background-color: #ffffff; direction: ltr; font-family: verdana; font-size: 12px;">'.$email_text.'</div></body>';

 

Obviously you will want to change the code to suit your own text and pictures but it works very well. Sorry if this has been posted before, if it has I couldnt find it!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...