Author Topic: Send emails to some recipients after order is done  (Read 216 times)

dhatzi

  • Beginner
  • *
  • Posts: 10
  • A beginner
  • Skype Name: dhatzi14
Send emails to some recipients after order is done
« 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9024
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Send emails to some recipients after order is done
« Reply #1 on: July 31, 2019, 19:34:49 pm »
emails are rendered / sent from components\com_virtuemart\helpers\shopfunctionsf.php
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