Jump to content

Enquiry on Service Suspension Email template


pikerr

Recommended Posts

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

 

automated.JPG

product_services.JPG

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated