Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Domain-Emailing old cart??


kawagner

Recommended Posts

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

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

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

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

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

Archived

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

×
×
  • Create New...