News:

Looking for documentation? Take a look on our wiki

Main Menu

How to disable registration emails to admin?

Started by amymattian, April 24, 2013, 21:46:13 PM

Previous topic - Next topic

amymattian

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


jenkinhill

Turn off Notification Mail to Administrators in Joomla user manager options.   
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

amymattian

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

bulesz

Quote from: 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

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

Cheerz,
B

gdnewman

Guessing we still have no answer for this?  My client is getting bombarded with them.

Jumbo!

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:
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:
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;
}
}
}

tobias_conrad

Any solution to get rid of the registration emails?
Maybe the best set of extensions in a gorgeous template for less than 50$.
http://clicky.me/gorgeous-template

Uke

Also cant stop vendor user reg mails. (Joomla V2.5.17, Virtemart V2.0.26d)

Any updates?

illusiondrmr

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.

lindapowers

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

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

cmetric