The last lines of SUBMIT_ORDER are:
        if($ContinueProcessing)
        {
                //send confirmation email
                if((SEND_EMAIL) AND validateEmail($billingAddress["Email"]))
                {
                        $mail_body = L_SUBMITORDER_DEAR .
                                $billingAddress["Name_First"] . " " .
                                $billingAddress["Name_Last"] . ",\n\n";
                        $mail_body .= L_SUBMITORDER_BODY;
                        $mail_body .= L_SUBMITORDER_INVOICE . $UserInfo['Invoice'] 
.".\n\n";
                        $mail_body .= L_SUBMITORDER_THANKS;

                        //list each item in the invoice and where each item is being 
shipped to
                        if ( listInvoiceContents(intval($UserInfo['Invoice']), 
$contentsString) )
                        {
                                $mail_body .= L_SUBMITORDER_INVOICE_CONTENTS;
                                $mail_body .= $contentsString;
                        }
                        else
                        {
                                //output error message
                                print( htmlentities($contentsString) );
                        }

                        mail($billingAddress["Email"],
                                L_ORDER_CONFIRMATION,
                                $mail_body,
                                "From: " . EMAIL_FROM);
                }

                $ActionResults[] =  L_SUBMITORDER_SUCCESS;
        }
?>

Add another mail address to it.

Chris Mason
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463
USA Fax (561) 382-7771
Take a virtual tour of the island
http://net.ai/ The Anguilla Guide
Find out more about NetConcepts
www.netconcepts.ai
Talk to me in real time with Instant Messenger: [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ted Stringer
Sent: Monday, November 27, 2000 11:46 AM
To: FreeTrade
Subject: [FreeTrade] A few questions


Hi,

Is there a way to have the cart e-mail the store manager when an order
is placed?  Also is there a way to eliminate the inventory tracking
features?  One more question, how do I make the invoice number start at
a something like 4000?

Thanks
--
Ted Stringer
Content Manager
WorkersCompensation.com
[EMAIL PROTECTED]




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]






------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to