hi. i need chage code in VM2 for generated invoices only for seller. No mailing to buyers.
i can open file administrator/components/com_virtuemart/models/orders and delete it for STOP mailing! but stop for all. I need stop mailing for buyers . .
// Send the email
//if (shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars)) {
// $string = 'COM_VIRTUEMART_NOTIFY_CUSTOMER_SEND_MSG';
//}
//else {
// $string = 'COM_VIRTUEMART_NOTIFY_CUSTOMER_ERR_SEND';
//}
//vmInfo( JText::_($string,false).' '.$order['details']['BT']->first_name.' '.$order['details']['BT']->last_name. ', '.$order['details']['BT']->email);
//return true;
? http://forum.virtuemart.net/index.php?topic=110099