How to disable sending email to the administrator when notifying users?

Started by AnSit, October 20, 2018, 23:50:03 PM

Previous topic - Next topic

AnSit

Can you please tell me which files and how you need to change so that letters are not automatically sent to the administrator when sending a letter to customers that the product has reappeared in stock?

Constantly when sending each letter to come a copy to the administrator. This is an unnecessary function, since the administrator himself knows about it.

AnSit

Experts and developers, please tell me in which file and how to disable these notifications to administrators?

GJC Web Design

administrator\components\com_virtuemart\models\waitinglist.php

public function notifyList ($virtuemart_product_id, $subject = '', $mailbody = '', $max_number = 0)

components\com_virtuemart\helpers\shopfunctionsf.php

static public function renderMail ($viewName, $recipient, $vars = array(), $controllerName = NULL, $noVendorMail = FALSE,$useDefault=true)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AnSit

Thank you very much, GJC Web Design, for responding!
I found these files and these lines, but I don't understand how to change them correctly. (( I still know PHP very badly and how these functions work.

If you are not very difficult - tell me, please.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AnSit

Oh yes, it worked!
How grateful I am to you, GJC Web Design!
Thank you for your attention and hint!