joshhw Posted June 5, 2017 Share Posted June 5, 2017 After testing emails generated by support tickets, I've noticed that they have a greeting specific to the main client when the ticket was in fact opened by a contact. Is there any way to fix this? It should have a greeting tailored to the contact name instead. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 5, 2017 Share Posted June 5, 2017 you may change/replace clients information with the contact information specified in the ticket/replies using this ActionHook point 0 Quote Link to comment Share on other sites More sharing options...
joshhw Posted June 6, 2017 Author Share Posted June 6, 2017 Okay, another question I have involves using hooks in order to change variables with the support ticket reply emails. I've used hooks to change menus but this is different. What I want is to get the contact ID instead of the client ID and also make sure that the template name I am using is correct. Here is the header I'm doing so far for reference: //Output additional merge fields in the list when editing an email template add_hook('Support Ticket Reply', 1, function($vars) { $merge_fields = []; } 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.