Auto Generated Confirmation Email??

11.11.2013 22:53
#1
blairdas
Joomshopping forum user no avatar
Name: Blair
08.11.2013
Posts: 2
Quote
Auto Generated Confirmation Email??

I need to change the subject line of the order confirmation email to have the category name listed in it. Is this possible?

 
13.11.2013 02:49
#2
blairdas
Joomshopping forum user no avatar
Name: Blair
08.11.2013
Posts: 2
Quote
Aw: Auto Generated Confirmation Email??

So I found the code I would need to change


$mailfrom = $mainframe->getCfg('mailfrom');
$fromname = $mainframe->getCfg('fromname');

//send mail client
if ($order->email){
$mailer = JFactory::getMailer();
$mailer->setSender(array($mailfrom, $fromname));
$mailer->addRecipient($order->email);
$mailer->setSubject( sprintf(_JSHOP_NEW_ORDER, $order->order_number, $order->f_name." ".$order->l_name));
$mailer->setBody($message_client);
if ($pdfsend && $jshopConfig->order_send_pdf_client){
$mailer->addAttachment($jshopConfig->pdf_orders_path."/".$order->pdf_file);
}
$mailer->isHTML(true);
$send = $mailer->Send();
}


I just need it to say the category name instead of the (New order 000001) in the subject. If this could be made to work I will write amazing reviews as this is the is the 5th shopping componant I have tried and I am so close to making it do what my customer wants!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.