Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

emails


Guest

Recommended Posts

Posted

where can i change the emails recieved by customers regarding orders.

 

i.e. the order confirmation, order update etc.

 

 

Kind regards andy :D :D

Posted
where can i change the emails recieved by customers regarding orders.

 

i.e. the order confirmation, order update etc.

Kind regards andy :D :D

 

Please define what you mean by change?

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Posted
Please define what you mean by change?

 

 

add a short message,

 

thank you for your order if you need any blah...............

 

make it more personal instead of.

 

your shop

------------------------------------------------------

Order Number: 10

Detailed Invoice:

Date Ordered:

The comments for your order are

 

 

 

 

 

Your order has been updated to the following status.

 

New status: Dispatched

 

Please reply to this email if you have any questions.

 

 

Kind regards andy

Posted
add a short message,

 

thank you for your order if you need any blah...............

 

make it more personal instead of.

 

your shop

------------------------------------------------------

Order Number: 10

Detailed Invoice:

Date Ordered:

The comments for your order are

Your order has been updated to the following status.

 

New status: Dispatched

 

Please reply to this email if you have any questions.

Kind regards andy

 

 

you may have noticed that order updates are done in orders.php

 

 

$customer_notified = '0';

if (isset($HTTP_POST_VARS['notify']) && ($HTTP_POST_VARS['notify'] == 'on')) {

$notify_comments = '';

if (isset($HTTP_POST_VARS['notify_comments']) && ($HTTP_POST_VARS['notify_comments'] == 'on')) {

$notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n\n<br><br>";

}

 

$email = "\n<br>" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n<br>" . EMAIL_TEXT_INVOICE_URL . ' ' . '<a href=' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . '>' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . '</a>' . "\n<br>" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n<br><br>" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]). '<br><br>';

 

tep_mail($check_status['customers_name'],

$check_status['customers_email_address'],

EMAIL_TEXT_SUBJECT,

$email,

STORE_OWNER,

STORE_OWNER_EMAIL_ADDRESS);

 

$customer_notified = '1';

}

 

and in the corresponding language files

 

define('EMAIL_SEPARATOR', '------------------------------------------------------');

define('EMAIL_TEXT_SUBJECT', 'Order Update');

define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');

define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');

define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');

define('EMAIL_TEXT_STATUS_UPDATE', 'Your order has been updated to the following status.' . "\n\n" . 'New status: %s' . "\n\n" . 'Please reply to this email if you have any questions.' . "\n");

define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");

Treasurer MFC

Archived

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

×
×
  • Create New...