News:

Support the VirtueMart project and become a member

Main Menu

Disable Email Notifications to Shoppers Only

Started by agxer, March 26, 2013, 09:48:12 AM

Previous topic - Next topic

agxer

Hi,

I have searched high and low and cannot find an answer to this.

what i need to do is disable ALL email notifications to the shoppers, and only email the orders to the admin. the reason for this is the the administrator will send invoices with the products but they still need to be alerted via email when an order is placed. i have found a forum on how to disable ALL emails to admin and shoppers via the orders.php but i can not make only the emails to the admin send.

any help would be greatly appreciated!!!!


Joseph Kwan

The simplest way to do this is modify the file component/com_virtuemart/helpers/shopfunctionsf.php.

Change the line

$user= self::sendVmMail($view, $recipient,$noVendorMail);

to

$user = true;

However, you will lose the change when you upgrade vm.


Joomla/VM Upgrade Services. Problems with your migration? We can help.
Custom extensions to VM. Performance Tuning. Template modifications and advices.
Pay service to make VM work according to your needs. Your Joomla/VM solutions are just a PM away.