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.

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.