Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

E-mail Order Confirmation to Store Owner


hgb_1999

Recommended Posts

Hi there,

 

I have setup OS Commerce and all is working fine. It's a great piece of software, and the community contributions have been invaluable (getting around register_globals problems, etc).

 

I have what I hope won't be a too complicated question.

 

As I understand it from using the software, when the customer makes an order through the system, it e-mails them to tell them the details of their order, and adds the order into the Administration | Customers | Orders section, to be processed by the store owner.

 

Is it easy to set this up so that when the customer is e-mailed this information, the store owner gets that information via e-mail too?

 

I've had a good look at the code, but it is beyond my technical abilities. It seems to me that the command to e-mail the customer after the order is in here on checkout_process.php:

 

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

 

But I don't really understand it. I would ideally like to have this setup so that the e-mail address in the database under "STORE_OWNER_EMAIL_ADDRESS" gets BCC'd (ie what is under "Configuration | My Store | E-mail address" in the administration section).

 

So, that would mean in addition to the present situation where the customer gets an e-mail, and the order is put into the administration database, now the store owner too would get the same order confirmation e-mail as the customer.

 

If it is too much hassle to have this "BCC" option, then it would be great even if just the "To" field of the e-mail had the customer's e-mail address and the store owner's e-mail address.

 

Any help / pointing in right direction would be greatly appreciated.

 

Thanks

Link to comment
Share on other sites

This is an easy one and you don't have to mess with code...

 

Login into your Admin --- Configuration --- My Store --- one of your choices is "send extra emails to"

 

choose that and edit it to whatever email you want your order confirmations to go to.

 

Hope this helps!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...