VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: marvays on November 29, 2012, 02:19:22 AM

Title: How to stop VM 2 generated invoices from emailing.
Post by: marvays on November 29, 2012, 02:19:22 AM
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;
Title: Re: How to stop VM 2 generated invoices from emailing.
Post by: jenkinhill on November 29, 2012, 12:02:26 PM
? http://forum.virtuemart.net/index.php?topic=110099