kawagner Posted September 6, 2005 Share Posted September 6, 2005 Hello, I changed my domain name - everything is working great except for the extra order information email (which holds the middle digits of the customers credit card) is still being emailed to my old cart. I do not know what php file to go to to modify this? I've checked, but can't seem to find it. Can anyone help. HELP- :'( Kim Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2005 Share Posted September 6, 2005 The extra order email is in catalog\checkout_process.php near the end of the file look for something like this: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Now if you havent hard-code something there it should pull the email address from your admin cpanel admin->configuration->Send Extra Emails To So you check this first make sure is how you want it before modifying code. Link to comment Share on other sites More sharing options...
kawagner Posted September 6, 2005 Author Share Posted September 6, 2005 that is what I thought - It is correct in the cpanel, but not working correctly - so I do not know where it is pulling it from. what you ahve above - is exactly what I have so I really do not know where to look? Kim Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2005 Share Posted September 6, 2005 ok try this. Get the oscommerce default core code. Then extract the catalog\checkout_process.php and do a comparison just in case there is other conditional code before the part I posted. Other than that check what contributions you installed regarding the shopping cart, orders etc that could alter related files. Link to comment Share on other sites More sharing options...
kawagner Posted September 7, 2005 Author Share Posted September 7, 2005 Can't I just hard code the correct email address into the page you said above? - I'm not sure if this is possible - Would you know? if so what is the code? I'm going to pull the original oscommerce - but over the years I have added a few contributions. Let me go look at the code. Kim Link to comment Share on other sites More sharing options...
Guest Posted September 7, 2005 Share Posted September 7, 2005 Can't I just hard code the correct email address into the page you said above? yes of course just to test if it does send the mail, but at the end something else may changed the code flow. Link to comment Share on other sites More sharing options...
kawagner Posted September 7, 2005 Author Share Posted September 7, 2005 Hello - I fixed it - there is a place inthe control panel in payment modules where you enter the emial address. It sure has been tough changing domain names. - Thanks for all your help. :D Kim Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.