News:

Support the VirtueMart project and become a member

Main Menu

How to stop VM 2 generated invoices from emailing.

Started by marvays, November 29, 2012, 02:19:22 AM

Previous topic - Next topic

marvays

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;

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum