• 0 Vote(s) - 0 Average
• 1
• 2
• 3
• 4
• 5
 Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? El Forum Guest   04-23-2009, 11:28 AM [eluser]TheFuzzy0ne[/eluser] Yeah, I definitely think a referral scheme is the way to go. For every person someone refers to you, you could apply a 10% discount to their package so long as the person they referred is paying you. I don't know you're business model, but I can't see why you shouldn't be able to apply infinite discounts recursively. So let's say you charge \$10 per month, and someone has referred 10 customers: They'd then be getting the service for \$3.48 per month, but you'd be making an extra \$100 from the other 10 customers. \$10.00 - 10% = \$9 \$9.00 - 10% = \$8.1 \$8.10 - 10% = \$7.29 \$7.29 - 10% = \$6.56 \$6.56 - 10% = \$5.9 \$5.90 - 10% = \$5.31 \$5.31 - 10% = \$4.78 \$4.78 - 10% = \$4.3 \$4.30 - 10% = \$3.87 \$3.87 - 10% = \$3.48 And here's the function that will work it all out for you. Code:```function get_discounted_fee(\$monthly_fee=0, \$discount_percent=0, \$referred_customers=0) {     if (\$monthly_fee > 0 && \$discount_percent > 0 && \$referred_customers > 0)     {         \$monthly_fee = round((\$monthly_fee / 100) * (100 - \$discount_percent), 2);         \$monthly_fee = get_discounted_fee(\$monthly_fee, \$discount_percent, \$referred_customers - 1);     }     return \$monthly_fee; }``` I hope I haven't overstepped my boundaries here, I just thought it might be a good idea. Rather than targeting discounts at families, you can give everyone the opportunity.

 Messages In This Thread Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 10:36 AM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 10:42 AM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 11:28 AM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 12:03 PM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 12:10 PM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 12:18 PM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 12:38 PM Family Pack Discounts - Is There a Way to Do This And Avoid People Reselling Their Passwords? - by El Forum - 04-23-2009, 12:48 PM

Theme © 2014 iAndrew