Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Images to Confirmation EMails


twbarnes10

Recommended Posts

Posted

I have been experimenting and searching for the last 3 days for an answer to this to no avail. I am simply looking to add our store logo to the top of the confirmation emails (for creating account or customer orders mainly), but cannot seem to find the proper code to insert.

 

There is probably a simple answer to this, but I have not stumbled accross it as of yet.

 

Any help on this is greatly appreciated (it also seems like this question has been asked and not answered a few times within this forum..not sure why).

Tim Barnes

Posted

I haven't tried this, so you'll have to experiment. But it seems like you should be able to add an html <img> tag in an existing (or new if you choose) EMAIL define statement in this file: includes --> languages --> english --> checkout_process.php

 

I have put <img> tags inside define statements on other pages and it's worked fine.

 

Good luck,

Adrienne

Posted

Thank you, Adrienne, for the reply. Later this afternoon, I (finally!) crafted a way to get it to work and it was just along the lines of what you suggested later. I actually substituted the image code for the greet line in the define code (bit of a cob-job I would say but it has gotten me much further to my goal).

 

Here is what I did for anyone curious:

 

define('EMAIL_GREET_NONE', '<img alt="" height="152" src="http://www.tru-fans.com/store/images/mainlogo.jpg" width="235" />' . "\n\n");

 

I have gender turned off in admin, so this is the line it would look for when creating the email. Works fine and now I can work on customizing this email further.

 

Thanks again for your reply!

 

Tim

Tim Barnes

Archived

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

×
×
  • Create New...