Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra order emails (rookie)


Jen7pc

Recommended Posts

Posted

Hi,

I see where I can enter extra email locations for notification that an order has been placed. Can I code this to allow an extra email to be sent for one category only?

 

My client is to receive all the emails, but one category of orders gets shipped from elsewhere and she want a cc of orders from that category only to go to that distributor.

 

Thanks,

J

Posted

No, you would have to custom code that. The place that you would add the code would be in checkout_process.php. The command is tep_mail. There are several issues to consider.

 

1. Many orders have multiple products, and it is likely that some will have products from both that category and other categories. Thus, you don't want to send the whole email to the third party (although perhaps that would be an acceptable kludge in some cases).

 

2. An order may also have multiple products from that category. Is it all right to send separate emails? Or do you need to lump them into one.

 

3. What info do you need to give the third party? Is there any info that you want to hide from them?

 

Hth,

Matt

Archived

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

×
×
  • Create New...