Is there a "Punch Card" add-on?
I'm looking for a way to keep track of how many times a customer has purchased a product over a period of time, so once they reach, say 10, they would get a coupon code to get 1 of the product for free.
The idea is similar to brink-and-mortar stores that have punch cards: "After you buy 9 coffees, get the 10th one free!" or "After you get your hair cut 9 times with us, get your 10th haircut for free!"
Is there a way to do this on X-cart with any existing add-ons?