When a new affiliate signs up I would like to have the notification emails sent to every affiliate in the referral chain. Is this possible?
Indeed it is.
At the bottom of the "Options", "New Affiliate Sign-Up" tab in the module's admin you'll find an option for "Send notification of new affiliate to referring affiliates?". If that option is set on, then the fields below it will be used to format emails to be sent to each affiliate in the referring chain. There is an option there to send the email only to the primary referral the direct referral) or to all levels of referral.
The "Email Subject" and "Email Body" fields can process the usual affiliate tokens and they will be replaced with the data of the affiliate receiving the email. For example, if you use the token %affiliate_code% it will display the code of the affiliate receiving the email.
In addition to the standard affiliate tokens, there are corresponding tokens to display the data for the new affiliate:
%newaffiliate_id%
%newaffiliate_code%
%newaffiliate_url%
%newaffiliate_link%
%newaffiliate_field#%
%newaffiliate_email%
%newaffiliate_fname%
%newaffiliate_lname%
%newaffiliate_company%
%newaffiliate_phone1%
%newaffiliate_phone2%
%newaffiliate_fax%
%newaffiliate_address%
%newaffiliate_city%
%newaffiliate_state%
%newaffiliate_zip%
%newaffiliate_country%
%newaffiliate_note%
There are also tokens to display the "chain of referral" (i.e. a listing of the path of referral):
%referralchain%
%referralchain|delimiter|%
The %referralchain% token will list the referring affiliate's codes in the format: newaffiliate|referring1|referring2|topreferring
If you would rather use some other delimiter (more than likely you will) you can use specify the delimiter in the token %referralchain|delimiter|%. For example, the token:
%referralchain| => |%
will format the referral chain as:
newaffiliat => referring1 => referring2 => topreferring
Last update: 2008-04-04 18:05
Author: Thor
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2528 views:
Adding Tokens to Evaluate Expressions - 2515 views:
Why won't you call me for technical support? I ... - 2496 views:
Is there a way to "Limit" the number of ... - 2405 views:
Are license keys valid for more than one store? ... - 2313 views:
I'm trying to enter a license key and get ... - 2276 views:
How do I install a module? - 2137 views:
How do I check for a module upgrade? - 2135 views:
How can display and change the parameters of an ... - 1964 views:
The total on my checkout pages are not correct. ... - 1846 views:
I have select and radio type attributes in my ...
















