Send emails to some recipients after order is done

Started by dhatzi, July 30, 2019, 12:35:34 PM

Previous topic - Next topic

dhatzi

Hello guys,

i need some guidance on what I need to implement.

I intend to have some products in my store lets call them gift vouchers.

Every gift voucher is belonging to a user/partner (every partner has a cooperation with shops which shops are giving their gift vouchers) for that reason I have added a custom field "email address" of that user.

I need when a user/shopper purchases some of these gift vouchers that might belonging to various partners, for every product/gift voucher a mail need to be sent to the partner is belonging (for that reason i have added the email custom field in the product) and some information of that order been kept to a new table for statistical reasons, when order is completed.

I need to hack some php files but I cannot find which files need to be hacked.

Any help will be precious.

Thank you in advance

GJC Web Design

emails are rendered / sent from components\com_virtuemart\helpers\shopfunctionsf.php
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