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.
Tagged:
Comments
  • fc_adamfc_adam FoxyCart Team
    @daniel_in_SF,

    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.