VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: welrachid on July 15, 2015, 10:37:52 AM

Title: Disable new customer mail sent to vendor
Post by: welrachid on July 15, 2015, 10:37:52 AM
Hi
Im think theres a bug.

I've disabled BOTH joomla signup emails and vendor system mails.. but i STILL get mails regarding new user registration..

what am i doing wrong?

i've attached a screenshot of both options..

Joomla 3.4.3
VirtueMart 3.0.9

Title: Re: Disable new customer mail sent to vendor
Post by: Milbo on July 16, 2015, 19:49:56 PM
Please check a normal user registration in joomla and check if the email is still coming. If yes, it is joomla related, else I need to take a new look. Maybe a new j3 bug, or vm bug due j3.
Title: Re: Disable new customer mail sent to vendor
Post by: welrachid on July 16, 2015, 20:45:03 PM
Okay maybe i wasnt clear.
The mail sent is to my VENDOR email address.

But now i have tried with normal joomla register - nothing happens. also checked junk mail.
Makes me more confident it is VM related.
Title: Re: Disable new customer mail sent to vendor
Post by: welrachid on September 01, 2015, 13:50:36 PM
Hi Max
Anything new? its been a while..
if you need me to make some more tests let me know
Title: Re: Disable new customer mail sent to vendor
Post by: GJC Web Design on September 01, 2015, 15:34:46 PM
yes -- found this as well .. the emails still get sent to the vendor no matter what your settings

I killed them by

components\com_virtuemart\helpers\shopfunctionsf.php

~ line 587

} else {
#self::sendVmMail( $view, $view->vendorEmail, TRUE );
}

I really couldn't understand the logic here with the $noVendorMail - passing it from the user  reg model function or hard coded
if I set that to true the vendor email got sent to the client when a new registration was made..  :(

.. but order emails still send -- registration emails don't..  :)

Title: Re: Disable new customer mail sent to vendor
Post by: welrachid on September 01, 2015, 15:54:44 PM
I also ran into that file. I also could not understand what exactly happened.. But again..i dont like doing "hacks" to core, so i dont want to change this.
i cannot be the only one having this issue?
If you have a lot of signups you dont want to receive an email EACH time..
Title: Re: Disable new customer mail sent to vendor
Post by: GJC Web Design on September 01, 2015, 20:19:53 PM
QuoteIf you have a lot of signups you dont want to receive an email EACH time..

exactly what my client said...  :P

but it is only a single #  in a file  :)
Title: Re: Disable new customer mail sent to vendor
Post by: welrachid on September 01, 2015, 20:30:43 PM
I just have an expectation that some from dev will say they will fix it. I put a lot of energy in not hacking core files
But anyway thanks for your solution