Jump to content

add affiliate field in sign up form


Aboli

Recommended Posts

Hello

I wanna add affiliate field in sign up form in whmcs and It works like the this link (( site.com/********?aff=1 ))

Is it possible ?

for example:

my aff code is 1

when the user use my code (1) in register form he will be my subset

in other ways: how to use code instead of link ?( site.com/********?aff=1 )

Thank a lot

Link to comment
Share on other sites

The affiliate field is not needed, it should save in a cookie for the user.

However, you can totally add any additional field you want in signup.

Go to admin -> setup -> custom client fields , add a new field

This can be dropdown (probably the best choice), just add the list of affiliates you want in there, if that's how you want to do it

Link to comment
Share on other sites

hi

thanks for ur reply

may be my question was wrong !

I want to use a code instead of link !! that every body who comes site without link and when he use this code in register field will be my subset

---

using code instead of link in register form is my purpose

Link to comment
Share on other sites

hi

thanks for ur reply

may be my question was wrong !

I want to use a code instead of link !! that every body who comes site without link and when he use this code in register field will be my subset

---

using code instead of link in register form is my purpose

 

there was third party module that use Coupon Codes instead of affiliate URL, you may use something like that or modify it to meet your requirements

https://github.com/tripflex/whmcs-affcoupons

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