Post by codex73 » Wed Mar 02, 2011 2:28 am

Where can we locate the code responsible for sending out email invoice and order receipt from cart? We need to add some notes for both email templates urgently for users. Please help.

New member

Posts

Joined
Wed Oct 28, 2009 1:53 am

Post by openmycart.com » Wed Mar 02, 2011 3:23 am

have a look to catalog\language\YOUR_LANG\mail\order_confirm.php or catalog\view\theme\YOUR_THEME\template\mail\order_confirm.tpl

Find and get many various of opencart modules, themes, mods, etc for your opencart store at http://www.openmycart.com/oc/, OPENCART SITE customization and Maintenance supports at here


User avatar
Active Member

Posts

Joined
Tue Oct 12, 2010 4:47 am


Post by codex73 » Wed Mar 02, 2011 6:22 am

I was able to find the template for the initial customer invoice receipt sent but not the one for the email send when order status is updated & customer is notified. Any idea where this one is triggered from or located?

Customer Invoice Email
catalog/view/theme/SNV/template/mail/order_confirm.tpl

New member

Posts

Joined
Wed Oct 28, 2009 1:53 am

Post by openmycart.com » Wed Mar 02, 2011 11:16 am

Sorry, but I am not fully understood what do You want to do exactly, I was show You the file that responsible to send confirmation email after items ordered at above, but if You want to know where the another file relation come from to it, You can find it at
catalog\model\checkout\order.php
in the file has public function confirm() and the sender code is

Code: Select all

 $mail = new Mail(); 
//....bla...bla.. 
$mail->send();
but if You want to re-send the confirmation mail You can do it from admin area Sales--order--edit hope this will help You

Find and get many various of opencart modules, themes, mods, etc for your opencart store at http://www.openmycart.com/oc/, OPENCART SITE customization and Maintenance supports at here


User avatar
Active Member

Posts

Joined
Tue Oct 12, 2010 4:47 am


Post by codex73 » Wed Mar 02, 2011 12:15 pm

I meant the email that gets fired when the order is updated on admin and "notify customer" is selected.

New member

Posts

Joined
Wed Oct 28, 2009 1:53 am
Who is online

Users browsing this forum: Bing [Bot] and 14 guests