Post by barells » Mon Jul 13, 2009 9:59 pm

When someone checks out, if the product string matches a certain criteria I would like to send an email confirmation to an an additional email address showing the order.

Can someone tell me where I can insert this code in the files?

This is being used for my drop ship clients. I need to have the order emailed to the manufacturer, so they can ship everything out.

Thanks for the help.

New member

Posts

Joined
Sat Jun 27, 2009 5:09 am

Post by readyman » Wed Jul 15, 2009 1:05 am

Look in system/library/mail.php - just go right to the end of the file where the mail() function is called.
You can then check the $message for your 'pattern'

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by barells » Wed Jul 15, 2009 3:38 am

that makes sense. thank you.

New member

Posts

Joined
Sat Jun 27, 2009 5:09 am

Post by barells » Thu Jul 16, 2009 11:10 pm

Where can I change the content of an email?

Is this in a template file?

I would like to send 2 different formatted emails. One to the customer and store owner, and one to our drop ship client.

New member

Posts

Joined
Sat Jun 27, 2009 5:09 am

Post by readyman » Fri Jul 17, 2009 3:16 pm

I believe the email sent when ordering is in the catalog/model/checkout/order.php file... (off the top of my head)... you should be able to add your extra mail requirements there.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney
Who is online

Users browsing this forum: No registered users and 76 guests