Author Topic: How to disable registration emails to admin?  (Read 9160 times)

amymattian

  • Jr. Member
  • **
  • Posts: 149
How to disable registration emails to admin?
« 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


jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: How to disable registration emails to admin?
« Reply #1 on: April 24, 2013, 23:52:10 pm »
Turn off Notification Mail to Administrators in Joomla user manager options.   
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

amymattian

  • Jr. Member
  • **
  • Posts: 149
Re: How to disable registration emails to admin?
« Reply #2 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

bulesz

  • Jr. Member
  • **
  • Posts: 194
Re: How to disable registration emails to admin?
« Reply #3 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

gdnewman

  • Beginner
  • *
  • Posts: 1
Re: How to disable registration emails to admin?
« Reply #4 on: October 21, 2013, 15:47:05 pm »
Guessing we still have no answer for this?  My client is getting bombarded with them.

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 816
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: How to disable registration emails to admin?
« Reply #5 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;
}
}
}

tobias_conrad

  • Beginner
  • *
  • Posts: 44
    • Herbs and Spices may help you. Find it out.
Re: How to disable registration emails to admin?
« Reply #6 on: November 29, 2013, 13:54:57 pm »
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

  • Beginner
  • *
  • Posts: 27
Re: How to disable registration emails to admin?
« Reply #7 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?

illusiondrmr

  • Beginner
  • *
  • Posts: 29
Re: How to disable registration emails to admin?
« Reply #8 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.

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Los Angeles immigration lawyers
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: How to disable registration emails to admin?
« Reply #9 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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: How to disable registration emails to admin?
« Reply #10 on: March 01, 2017, 10:22:34 am »
Problem found and fixed.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/