pikerr Posted December 13, 2019 Share Posted December 13, 2019 Dear All, For my Automation Setting, I have enabled Tick this box to send the Service Suspension Notification email on successful Suspend. This Service Suspension Notification is under Product/Service Messages. However when this email is triggered. the fields for {$invoice_num} , {$invoice_date_created}, {$invoice_total}, {$invoice_date_due} and {$invoice_link} is not captured Your payment method is: {$invoice_payment_method} Invoice #{$invoice_num}Amount Due: {$invoice_total}Due Date: {$invoice_date_due} You can login to your client area to view and pay the invoice at {$invoice_link} Any advise? Thank you 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 13, 2019 Share Posted December 13, 2019 8 hours ago, pikerr said: However when this email is triggered. the fields for {$invoice_num} , {$invoice_date_created}, {$invoice_total}, {$invoice_date_due} and {$invoice_link} is not captured. Any advice? this is because those fields are only available to invoice email templates, whereas the service suspension notification is a product/services email template. to get these invoice fields in another email template type, you would need a hook, specifically EmailPreSend, in which you'd have to query the database to get these details. 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.