Purchase Email EditsLast Update: 15th July, 2005
Article ID: 182



Introduction

The purchase email is created once the checkout has been completed by a customer. By default only the customer receives the order confirmation via email.


Add Multiple Users for Email Copy

It is possible for multiple users to receive a copy of the order email by entering the email address is the following field in the general configuration section.

Send Extra Order Emails To:


Purchase Email Edits

The catalog/checkout_process.php establishes the mail variables and sets their values. This puts a text message just below the store name with a line space between in the confirmation order email the customer receives.

Somewhere after the section that reads:

" // lets start with the email confirmation" about line 222



Add:

// additional text message
$email_order .= "\r\nThank you for your order! \r\n Enjoy! \r\n" .
// end of additional text message



After:

// lets start with the email confirmation
$email_order = STORE_NAME . "\n" .



Like This:

// lets start with the email confirmation
$email_order = STORE_NAME . "\n" .
//
$email_order .= "\r\nThank you for your order! \r\n Enjoy! \r\n" .
//
EMAIL_SEPARATOR . "\n" .



\r\n leaves no space between lines whereas \n\n leaves one blank line.

 

Related Articles

 

 

Trademark Policy | Copyright Policy | Sitemap

Copyright © 2000-2005 osCommerce. All rights reserved.