Author Topic: Disable new customer mail sent to vendor  (Read 1170 times)

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Disable new customer mail sent to vendor
« 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

Best regards,
Wel

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9942
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Disable new customer mail sent to vendor
« Reply #1 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Disable new customer mail sent to vendor
« Reply #2 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.
Best regards,
Wel

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Disable new customer mail sent to vendor
« Reply #3 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
Best regards,
Wel

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9139
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Disable new customer mail sent to vendor
« Reply #4 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..  :)

GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Disable new customer mail sent to vendor
« Reply #5 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..
Best regards,
Wel

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9139
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Disable new customer mail sent to vendor
« Reply #6 on: September 01, 2015, 20:19:53 pm »
Quote
If 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  :)
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Disable new customer mail sent to vendor
« Reply #7 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
Best regards,
Wel