Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/269.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在Virtuemart 2中取消确认电子邮件_Php_Joomla_Virtuemart - Fatal编程技术网

Php 在Virtuemart 2中取消确认电子邮件

Php 在Virtuemart 2中取消确认电子邮件,php,joomla,virtuemart,Php,Joomla,Virtuemart,您知道是否有任何方法可以避免/取消在Virtuemart中购买后收到客户的确认电子邮件? 我想保留管理员电子邮件 我在Virtuemart控制面板中搜索该选项,但没有任何结果 我有Virtuemart 2.0.20b和Joomla 2.5.11 非常感谢您取消我发出的确认电子邮件,我做了以下内容: 在components/com_virtuemart/helpers/shopfunctionsf.php文件中,我更改了以下内容(第243行): 为此: if ($viewName=='invoic

您知道是否有任何方法可以避免/取消在Virtuemart中购买后收到客户的确认电子邮件? 我想保留管理员电子邮件

我在Virtuemart控制面板中搜索该选项,但没有任何结果

我有Virtuemart 2.0.20b和Joomla 2.5.11


非常感谢您取消我发出的确认电子邮件,我做了以下内容:

在components/com_virtuemart/helpers/shopfunctionsf.php文件中,我更改了以下内容(第243行):

为此:

if ($viewName=='invoice' AND in_array($vars['orderDetails']['details']['BT']->order_status, array('P','U')))
    $user = null;
else
    $user= self::sendVmMail($view, $recipient,$noVendorMail);
有一个更完整的答案

if ($viewName=='invoice' AND in_array($vars['orderDetails']['details']['BT']->order_status, array('P','U')))
    $user = null;
else
    $user= self::sendVmMail($view, $recipient,$noVendorMail);