Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

How to stop VM 2 generated invoices from emailing.
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: How to stop VM 2 generated invoices from emailing.

How to stop VM 2 generated invoices from emailing. 12 years, 6 months ago #30873

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.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný