Hi All
I am trying to get my extra emails sent to other people to include the following In the email subject field,
products model & product order number example ABC167
Also
can I change this line
CODESTORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');
to display customers email address in the from field, so recipient can just click reply to? I know tis is more difficult than it looks
Can I acheive what I am after with this code below?
I am using this piece of script below from webmakers corner, I keep trying and searching but I am unable make it do what I need without your help
also can I enter the product_ model here somehow to show ABC167 in the subject box
this is the code I am using
This makes the subject contain order process number#167
CODE// send emails to other people
if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
//"WebMakers.com Added: Include Order # in Subject and customer's email address and phone in body"
tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO,
EMAIL_TEXT_SUBJECT . ' number#' . $insert_id,
$order->customer['firstname'] . ' ' . $order->customer['lastname'] . ' ' .
'E-mail:' . $order->customer['email_address'] . "\n\n".
'Phone:' . $order->customer['telephone'] . "\n\n".
// 'Fax:' . $order->customer['fax'] . "\n\n".
nl2br($email_order),
STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');
}
in the above code if I replace
CODEEMAIL_TEXT_SUBJECT . ' number#' . $insert_id,
with
CODEEMAIL_TEXT_SUBJECT . $insert_id,
I get order process167 in the subject box.
I would like to edit out order process to leave just 167
Where/which file does the text " order process " get pulled from, Ive done find in email.php orders.php order_info.php
do I need to define something somewhere to get products model to work?
Ok thats long enough for now,
Thanks to all
regards
Ian
Regard
--------------------
www.readergroup.co.uk
Authorised Distributors
Vans4free (Leicestershire)




LinkBack URL
About LinkBacks






Bookmarks