Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

About Order mail and Stock Re-order mail...


cdu_lx

Recommended Posts

Hello all.

 

it's question asked a lots of times. Last mesages from jen_jl

http://www.oscommerce.com/forums/viewtopic.php?t=51858

 

Wel now...

I've examined all files in package oscommerce-2.2ms2.zip

and find out that constant STORE_OWNER_EMAIL_ADDRESS ( e-mail

addres of store owner ) is used NOWHERE in section "send to" expect

sign up and conntact us files... And could not find where

STOCK_REORDER_LEVEL is used at all...

 

Now, I think Reorder nottification and Store owner notification are NOT working... ( any way, I hope I'm wrong ).

 

in order to solve the problem I've added codes below:

( around 259'st line )

....

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

//------ Here is the added codes -------

if (STORE_OWNER_EMAIL_ADDRESS != '') {

tep_mail('', STORE_OWNER_EMAIL_ADDRESS, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, EMAIL_FROM );

}

//------end--------------------------------

// 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);

}

.....

The store owner will recieve a same order report as customer.

 

still working on Reorder nottification... will send ass soon as I can...

 

regards,

Ling.

Link to comment
Share on other sites

  • 4 weeks later...

Archived

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

×
×
  • Create New...