Jump to content

email templates not able to use variables in the subject line?


Summy

Recommended Posts

I've got an invoice template with {invoice_num} in the subject line, so that it helpfully displays the invoice number for the customer without them having to open it.

 

On signing up/trying to send an invoice the following error appears in my php error_log file:

 

[09-Mar-2009 15:12:41] PHP Fatal error: Smarty error: [in emailtpl:emailsubject line 1]: syntax error: unrecognized tag 'invoice_num' (Smar

ty_Compiler.class.php, line 583) in /home/username/public_html/libs/Smarty.class.php on line 1095

 

So am I right in thinking that I can't have merge fields in the subject line?

 

If not, can we put this in as a feature request please? Having 10 or so emails in a folder with the subject "Your new invoice", isn't very helpful.

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