Hi
A bit of code snippet for anyone who links to Affiliate tracker - this will display the name of the person who referred the the subscriber in a field on the registration form
You need to add a custom field - in theis case I called it Referrer, but you can call it what you want, just remember to change the name in the code
I also added CSS to make the field readonly eg:
#Referrer{
pointer-events: none;
border-color : grey;
color:grey;
}
to use this code - create a folder called override under components/com-osmemebership/view/
under this folder create one called register
place the attached code in that folder.
Done.
for reference :
membershipprodoc.joomservices.com/develo...thod-in-a-view-class