Menu Content

Podpora

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

How to disable VirtueMart 3 order e-mails - is no
(1 viewing) (1) Guest
If you have suggestion for a new feature you would need or that other may appreciate, or you have suggestion for improvemnt or change, you may post such ideas in this category.
  • Page:
  • 1

TOPIC: How to disable VirtueMart 3 order e-mails - is no

How to disable VirtueMart 3 order e-mails - is no 8 years, 10 months ago #47417

Hello,
we are trying to put the script to disable sending the bill to Virtuemart as explained in your FAQ, but what about the string to replace is hosted on 2 points of shopfunctionsf.php files Virtuemart 3 at line 540 and 553. Carry the script :
 
if (! $ usedefault and isset ($ vars [ 'newOrderData'] [ 'customer_notified']) and $ vars [ 'newOrderData'] [ 'customer_notified'] == 1) {
$ user = self :: sendVmMail ($ view, $ recipient, $ noVendorMail);
vmdebug ( 'renderMail by overwrite');
} else {
$ order status ForShopperEmail =
VmConfig :: get ( 'email_os_s', array ( 'U', 'C', 'S', 'R', 'X'));
if (! is_array ($ orderstatusForShopperEmail)) $ orderstatusForShopperEmail = array ($ orderstatusForShopperEmail);
if (in_array ((string) $ vars [ 'Order Details'] [ 'details'] [ 'BT'] -> ORDER_STATUS, $ orderstatusForShopperEmail)) {$ user = self :: sendVmMail ($ view, $ recipient, $ noVendorMail) ; vmdebug ( 'renderMail by default');
} else {$ user = -1;
}
}
} Else {
$ user = self :: sendVmMail ($ view, $ recipient, $ noVendorMail);


I explained where and how to insert your string? Thank you.
The topic has been locked.

Re: How to disable VirtueMart 3 order e-mails - is no 8 years, 10 months ago #47421

A quick answer would be welcome and important. Or tell us if we have to open a ticket. Is anyone there? :)
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný