A while back @jamigibbs made a neat little Countdown to Elite site. To update it, she’d go in and enter her total value of sales and it’d subtract it from $75,000, thus giving her the total amount needed until she became elite. I asked Jami if I could have her little site and she kindly gave it to me. Thinking it’d be much easier just to pull the total sales from the API, I looked into that, but the closest thing to that was an output of the total earnings each month. So the way this little site works now is a bit convoluted, but it auto generates it. Here’s a rough breakdown:
We get the total number of earnings, figure out how many commission tiers were crossed (every ($1875 + x($37.50))), add the difference between the total of those and (x($1875)), and then subtract that from $75,000.
Easy as pi. I can’t take all the PHP credit though, my buddy Tony wrote it up but he doesn’t have any sites or social media I can link to. So, hat-tip Tony.
Anyway, here’s the download link.