Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

inserting an image into the order confirmation email?


ricko27

Recommended Posts

How do I go about inserting an image into the order confirmation email that's sent out?

 

Here's what I have in my languages/english/checkout_process.php file:

 

define('EMAIL_IMGLOGO', 'http://www.domain.com/images/table_background_man_on_board.gif');

define('EMAIL_IMGTHANKYOU', 'http://www.domain.com/admin/images/oscommerce.gif');

In my checkout_process.php (located under the catalog/ dir, here's what I have...

 

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_IMGLOGO

EMAIL_IMGTHANKYOU

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

 

You'll notice the above has the email_imglogo and email_imgthankyou inserted, but nothing else. What does the code need to look like? thanks!

 

-Rick

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...