VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: dhatzi on July 31, 2019, 09:59:06 AM

Title: Sending email to some receipients after order is done
Post by: dhatzi on July 31, 2019, 09:59:06 AM
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
Title: Re: Sending email to some receipients after order is done
Post by: GJC Web Design on July 31, 2019, 11:12:04 AM
emails are rendered/ sent from  components\com_virtuemart\helpers\shopfunctionsf.php