Loyalty card platform

Check the link in this thread

find the example database on promotions etc. and that should help get you started.