I bought the component to use it as the only one obviously that sends out invoices to customers. I don't need them to receive them twice (one from VM2 and one from this component). I found in another thread directions on how to stop the VM invoices from emailing out to customers, but it does not work. The directions were as follows:
-----------------------------------------------------------------------------------------------------------
Hello. To disable VirtueMart order confirmation e-mails, you must edit VM code.
Us using VM2
open file administrator/components/com_virtuemart/models/orders and find line 1075 (VM 2.0.6. If using other version, line number may differ. Importat is preceding line is "$order = $orderModel->getOrder($virtuemart_order_id);")
and insert this code:
...
if ($order['details']['BT']->order_status=='P')
return true;
...
This will disable "pending order" e-mail to customer.
If you want to disable all status change e-mails, just uncheck "notify customer" when changing status or put "return true" on start of notifyCustomer function.
To disable only VirtueMart PDF Invoices, uncheck "Create and send pdf invoices" in VirtueMart -> Configuration ->Checkou
------------------------------------------------------------------------------------------------------------------------------------------------------
I disabled the PDF invoices in VM2, but the directions for disabling the VM Order confirmations are not working. Please advise me what to do. It is urgent to me.