Page 1 of 1

Restrict Affiliate Registration Until Purchase has been made

Posted: Tue Jan 17, 2017 11:21 pm
by acidrs
Hello,
I am looking for an extension that will restrict the ability to sign up for Affiliate until a certain product has been purchased.
Basically the requirements for becoming an affiliate / Rep is that before you are able to register for an account you have to buy an Affiliate /Rep kit.
I was wondering if there was a way to edit the affiliate registration page to include a buy now option, only when they have completed the purchase can they continue to complete registration.
The Registration page would then restrict a user from registering if they have not made the purchase.

I have looked in the extension market place but alot of the affiliate extensions i saw were for disabling the affiliate module.

Re: Restrict Affiliate Registration Until Purchase has been

Posted: Wed Jan 18, 2017 12:05 am
by mohittyagi82
Hi,
In that case you can show a message on affiliate page that to become an affiliate you need to buy atleast a product of minimum such price and while registering on affiliate page you can check in customer table and order table that new affiliation person has such order or not. If you find any difficulty please let me know.

Re: Restrict Affiliate Registration Until Purchase has been

Posted: Wed Jan 18, 2017 1:51 am
by acidrs
mohittyagi82 wrote:Hi,
In that case you can show a message on affiliate page that to become an affiliate you need to buy at least a product of minimum such price and while registering on affiliate page you can check in customer table and order table that new affiliation person has such order or not. If you find any difficulty please let me know.
Thanks for your response mohittyagi82,
That is a good idea, could look in the customer table by email or some other unique identifier as the user is filling out form and display a message and a link if the item hasn't been purchased yet. Could even set it to deactivate the submit button if the product hasn't been purchased and activate the button if the product has been purchased.
Would have to make sure that the customer data they are using matches the affiliate data they are entering other wise it wouldn't check. So for example if you looked up the order data by email address of user but the user purchased the product using an account with a different email address. But that can be rectified by indicating that the user must use the same email.

[SOLVED]Restrict Affiliate Registration Until Purchase has b

Posted: Mon Jan 30, 2017 3:58 am
by acidrs
Worked with a Developer and manged to get this functionality implemented with a simple vqmod and hard coded product id.

Re: Restrict Affiliate Registration Until Purchase has been

Posted: Sun Feb 05, 2017 7:34 pm
by mohittyagi82
:)