Jump to content

Setting up comissions?


deed

Recommended Posts

Hello everyone,

 

I own a small web hosting company and I wanted to offer my sales staff a 25% recurring commission for each sale. Instead of http://www.mydomain.com/client/*?aff=008 which looks unprofessional, would it be possible to have them send customers to lets say mydomain.com/toddsales and have him obtain the commission. Having coupon code commissions would be great also.

 

If anyone has suggestions it would be greatly appreciated!

Link to comment
Share on other sites

  • 2 weeks later...

You could use .htacces and mod_rewrite to have, for example, http://yourdomain.tld/something/###-Whatever (or any other format you setup) load http://yourdomain.tld/client/*?aff=###.

 

For example:

RewriteRule ^sales/([0-9]+) client/*?aff=$1 [QSA]

 

The above example would allow you to give http://yourdomain.tld/sales/1-Todd, but through the magic of mod_rewrite, http://yourdomain.tld/client/*?aff=1 would be loaded.

Edited by GGWH-James
Link to comment
Share on other sites

You could use .htacces and mod_rewrite to have, for example, http://yourdomain.tld/something/###-Whatever (or any other format you setup) load http://yourdomain.tld/client/*?aff=###.

 

For example:

RewriteRule ^sales/([0-9]+) client/*?aff=$1 [QSA]

 

The above example would allow you to give http://yourdomain.tld/sales/1-Todd, but through the magic of mod_rewrite, http://yourdomain.tld/client/*?aff=1 would be loaded.

 

extend that further as ^sales/([0-9A-Za-z]+) client/*?admin=$1

and add a little code to * to lookup the admin variable in tbladmins, grab the email, and use teh email to find the client, and use that to get the affiliate id ...

Link to comment
Share on other sites

Thanks everyone that sounds great.

 

Now would it be possible to set the affiliate payout delay to 30 days just for my employees? If so how? It would be nice since my employees would not do affiliate fraud and still have normal customers which have the possibility of affiliate fraud set for 90 days.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated