Here's my code from the order.php page from line 958 through line 975:
PHP Code:
// include disclaimer
$email_order .= "\n-----\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS) . "\n\n";
// include copyright
$email_order .= "\n-----\n" . EMAIL_FOOTER_COPYRIGHT . "\n\n";
// include survey measurements.
$product_title = "Your RoadMap" // Change your product title here.
if (isset($product_title) && !empty($product_title) && preg_match("/^$product_title/i", $this->products_ordered)) {
$html_msg['SURVEY_MEASUREMENTS'] = '<a href="' . zen_href_link(SURVEY_MEASUREMENTS_URL), '"target="_blank">' . EMAIL_SURVEY_MEASUREMENTS_CLICK_HERE . '</a>';
}
while (strstr($email_order, ' ')) $email_order = str_replace(' ', ' ', $email_order);
$html_msg['EMAIL_FIRST_NAME'] = $this->customer['firstname'];
$html_msg['EMAIL_LAST_NAME'] = $this->customer['lastname'];
// $html_msg['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER;
$html_msg['EXTRA_INFO'] = '';
zen_mail($this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id, $email_order, STORE_NAME, EMAIL_FROM, $html_msg, 'checkout');
Bookmarks