VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: amymattian on April 24, 2013, 21:46:13 pm

Title: How to disable registration emails to admin?
Post by: amymattian on April 24, 2013, 21:46:13 pm
Hi,

I cannot figure out how to disable the constant emails site-admin gets from VM2 new customer registration. I have set the Joomla 2.5 users no email for admin setting. Also I have set the shop-email with setting "No admin emails".  But in VM2 I cannot find any option to disable the registration emails for shop-admin. Is it possible somehow? This was not happening in VM1 and admins are not too happy about getting emails for new registrations. Is there a way to disable these?

Greetings,
Anne

Title: Re: How to disable registration emails to admin?
Post by: jenkinhill on April 24, 2013, 23:52:10 pm
Turn off Notification Mail to Administrators in Joomla user manager options.   
Title: Re: How to disable registration emails to admin?
Post by: amymattian on May 03, 2013, 13:06:17 pm
Hi Jenkin,

I've done that but it has no affect. Each new registration creates an email. Seems it is Virtuemart that is sending those messages. 

It looks like this:
Hello, vendor xxxx.com   
New client registration details
user : xxxx
name: : xxxx xxxx

Written address
Name: xxx xxx
Email: xxx@xxx.
Firstname: xxx
Lastname: xxx
Address 1: xxx xx
Postcode: xxxxx
City: xxx
country: xx
telephone: xx


I don't see any place in VM2 backend where to stop this email from coming to admin-email of the shop.

Greetings,
Anne
Title: Re: How to disable registration emails to admin?
Post by: bulesz on August 24, 2013, 12:17:51 pm
Hi Jenkin,

I've done that but it has no affect. Each new registration creates an email. Seems it is Virtuemart that is sending those messages. 

It looks like this:
Hello, vendor xxxx.com   
New client registration details
user : xxxx
name: : xxxx xxxx

Written address
Name: xxx xxx
Email: xxx@xxx.
Firstname: xxx
Lastname: xxx
Address 1: xxx xx
Postcode: xxxxx
City: xxx
country: xx
telephone: xx


I don't see any place in VM2 backend where to stop this email from coming to admin-email of the shop.

Greetings,
Anne

Same here...is there any solution about this?

Cheerz,
B
Title: Re: How to disable registration emails to admin?
Post by: gdnewman on October 21, 2013, 15:47:05 pm
Guessing we still have no answer for this?  My client is getting bombarded with them.
Title: Re: How to disable registration emails to admin?
Post by: Jumbo! on October 23, 2013, 09:27:33 am
Not 100% sure but you can try this hack.

Open components\com_virtuemart\helpers\shopfunctionsf.php

Find the following codes between lines 274 to 288:
Code: [Select]
if(isset($view->doVendor) && !$noVendorMail) {
if(isset($vars['orderDetails'])){
$order = $vars['orderDetails'];
$orderstatusForVendorEmail = VmConfig::get('email_os_v',array('U','C','R','X'));
if(!is_array($orderstatusForVendorEmail)) $orderstatusForVendorEmail = array($orderstatusForVendorEmail);
if ( in_array((string)$order['details']['BT']->order_status,$orderstatusForVendorEmail)){
self::sendVmMail( $view, $view->vendorEmail, TRUE );
}else{
$user = -1;
}
} else {
self::sendVmMail( $view, $view->vendorEmail, TRUE );
}

}
Replace above by:
Code: [Select]
if(isset($view->doVendor) && !$noVendorMail) {
if(isset($vars['orderDetails'])){
$order = $vars['orderDetails'];
$orderstatusForVendorEmail = VmConfig::get('email_os_v',array('U','C','R','X'));
if(!is_array($orderstatusForVendorEmail)) $orderstatusForVendorEmail = array($orderstatusForVendorEmail);
if ( in_array((string)$order['details']['BT']->order_status,$orderstatusForVendorEmail)){
self::sendVmMail( $view, $view->vendorEmail, TRUE );
}else{
$user = -1;
}
}
}
Title: Re: How to disable registration emails to admin?
Post by: tobias_conrad on November 29, 2013, 13:54:57 pm
Any solution to get rid of the registration emails?
Title: Re: How to disable registration emails to admin?
Post by: Uke on February 09, 2014, 19:10:15 pm
Also cant stop vendor user reg mails. (Joomla V2.5.17, Virtemart V2.0.26d)

Any updates?
Title: Re: How to disable registration emails to admin?
Post by: illusiondrmr on December 02, 2014, 11:43:06 am
Just replying to check if some1 have a solution for this.

Disabled the "notification email to administrator" in joomla user options as jenkinhill, suggested - Disabled "receive system emails" in the specific user account as well

Nothing.. upon every shopper registration, vendor keeps getting notification emails.
Title: Re: How to disable registration emails to admin?
Post by: lindapowers on October 30, 2016, 09:15:27 am
Hi

Tried disabling new shopper registration emails in VM 3.0.18 with j 3.6.4 and doesn't seem possible.

In Joomla the superuser already has "Receive System Emails" set to No

In VM - Shop/Shopper Information
Receive System Emails   is already in No

We still recieve the emails of the registered shoppers.

Am I missing a setting to disable it or is forced by VM?


Regards
Title: Re: How to disable registration emails to admin?
Post by: Milbo on March 01, 2017, 10:22:34 am
Problem found and fixed.