VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Development & Testing => Topic started by: dhatzi on July 30, 2019, 12:35:34 pm

Title: Send emails to some recipients after order is done
Post by: dhatzi on July 30, 2019, 12:35:34 pm
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: Send emails to some recipients after order is done
Post by: GJC Web Design on July 31, 2019, 19:34:49 pm
emails are rendered / sent from components\com_virtuemart\helpers\shopfunctionsf.php