The site is an Affiliate site
where affiliate get commissions when they sell a product through their product affiliate link..
And affiliate will have their own Reseller Link to invite new affiliates under them..
So, here we are using two different links..
1. Affiliate Product Link
2. Affiliate Reseller Link
Merge Reseller Affiliate link with Affiliate Product Link..
ie., a new user clicks on this Affiliate Product Link and when registers he automatically becomes reseller under the affiliate.
Here you can find demo links and all the info:
[login to view URL]