Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding extra text in the customer e-mail confirmation


Guest

Recommended Posts

I posted this request for help yesterday morning in a differnt forum, no help yet. Does anyone have the time to help with an answer that works?

 

I need to add several paragraphs of text to the e-mail confirmation that is sent to the customer. I don't know if this is the correct place to do this but,

here are a couple of lines of code (around line 43) from /admin/orders.php

$notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "nn";

         }

         $email = STORE_NAME . "n" . EMAIL_SEPARATOR . "n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "nn" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

         tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, nl2br($email), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

         $customer_notified = '1';

       }

 

I believe this is where that e-mail is generated from.

 

The text I need to add would be simply formated;

Sample text sample text, sample text sample text sample text sample text sample text sample text, sample text etc...

Sample text sample text, sample text sample text sample text sample text sample text sample text, sample text etc...

 

Sample text sample text, sample text sample text sample text sample text sample text sample text, sample text etc...Sample text sample text, sample text sample text sample text sample text sample text sample text, sample text etc...Sample text sample text, sample text sample text sample text sample text sample text sample text, sample text etc...

 

Can someone explain to me how to do this? With an 'include sometext.txt or with an 'echo' ?

 

I am not much of a php guy, but I can read and follow simple instructions.

 

I will need to change that text occasionally, but not often.

 

Regards,

Mike

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...