We are looking to display a custom coupon code on checkout success only if it is the customers first order. Is there a way to determine whether its the customers first order in success.phtml?
What we are looking to do is:
If Customer First Order Then
Show Coupon Code
We can handle the Coupon Code part, just need some help with determining if its the first order for this customer.
Thanks in advance, and your help is very appreciated.