I need to change the subject line of the order confirmation email to have the category name listed in it. Is this possible?
11.11.2013 22:53
|
|
blairdas
Name: Blair
08.11.2013
Сообщения: 2
|
|
13.11.2013 02:49
|
|
blairdas
Name: Blair
08.11.2013
Сообщения: 2
|
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! |