- Posts: 11
- Thank you received: 0
Email Configuration
- CCC
- Topic Author
- Offline
- New Member
-
Less
More
13 years 11 months ago #9442
by CCC
Email Configuration was created by CCC
Anyone that can help with email config.. basically got it all mapped out except want to add another "tag" field to the custom script.
Want to grab Transaction ID out of Rego Details and dump into text further down. Anyone know how to do this? Where are email Tags defined?
Want to grab Transaction ID out of Rego Details and dump into text further down. Anyone know how to do this? Where are email Tags defined?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 11 months ago #9450
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Email Configuration
Hi
Transaction ID is available in [REGISTRATION_DETAIL] tag already, so I didn't make this tag available . In this case :
1. If you want to add [TRANSACTION_ID] tag, open the file components/com_eventbooking/helper/helper.php, looks at sendMails function (from line 436) and find the code below :
Add this code below the above code :
After that, [TRANSACTION_ID] will be one of the available tags .
To remove transaction ID from [REGISTRATION_DETAIL], you will need to look at the code components/com_eventbooking/emailtemplates/cart.php, find the code and remove it !
Regards,
Tuan
Transaction ID is available in [REGISTRATION_DETAIL] tag already, so I didn't make this tag available . In this case :
1. If you want to add [TRANSACTION_ID] tag, open the file components/com_eventbooking/helper/helper.php, looks at sendMails function (from line 436) and find the code below :
Code:
$replaces['event_title'] = $eventTitle ;
$replaces['first_name'] = $row->first_name ;
$replaces['last_name'] = $row->last_name ;
$replaces['organization'] = $row->organization ;
$replaces['address'] = $row->address ;
$replaces['address2'] = $row->address ;
$replaces['city'] = $row->city ;
$replaces['state'] = $row->state ;
$replaces['zip'] = $row->zip ;
$replaces['country'] = $row->country ;
$replaces['phone'] = $row->phone ;
$replaces['fax'] = $row->phone ;
$replaces['email'] = $row->email ;
$replaces['comment'] = $row->comment ;
$replaces['amount'] = number_format($row->amount, 2) ;
Add this code below the above code :
Code:
$replaces['transaction_id'] = $row->transaction_id ;
After that, [TRANSACTION_ID] will be one of the available tags .
To remove transaction ID from [REGISTRATION_DETAIL], you will need to look at the code components/com_eventbooking/emailtemplates/cart.php, find the code and remove it !
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.