The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Can't load up custom email template

Hey guys,

For some reason we are unable to load up our custom email template, as we get this error:

Your template was not saved because there was an error in your Twig template syntax: Unexpected end of template in "TEMP_html_email_template.twig" at line 682

Our email template is here:

Any idea what is going on?
  • fc_adamfc_adam FoxyCart Team

    The error message there is basically saying that the Twig template ended before it thought it should - which generally points to a Twig statement not being closed correctly. Reviewing the changes you've made - I believe you're missing the closing {% endif %} tag for the conditional {% if days_since_first_failed_transaction == 5 %} that you've added. Try adding the necessary end tag there and it should work for you.
Sign In or Register to comment.