Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

Receipt Twig - New Order

daniel_in_SFdaniel_in_SF Member
in Help edited February 2014
I would like to display a congratulations on your purchase message on the customer receipt page only if it is a new order. Where on the twig can I customize this? I can't get it working.
  • fc_adamfc_adam FoxyCart Team

    Within twig, if you wrap your content like this, it will only be displayed the first time the receipt is shown to the customer, and not on any subsequent re-visits to the receipt:
    {% if first_receipt_display %}
    {% endif %}
Sign In or Register to comment.