This guide explains how to configure the benefits that are automatically assigned both to the Sponsor (the user who invites) and to the Sponsored (the invited user) when they reach specific goals.
Setting Global Affiliation Benefits (Admin)
1. Access General Settings
1. Log in to the admin panel.
2. Navigate to Plugins and select the Affiliation plugin.
3. Click on the General tab.
2. Select and Activate a Goal
In the General section, you will find a list of goals that trigger the assignment of benefits.
1. Locate the goal you want to configure (e.g., Site Registration or Product Sale).
2. If the goal is deactivated, click Activate.
3. If the goal is repeatable (such as Product Sale), you can specify whether rewards should be assigned each time:
- Under the question
Should rewards be assigned every time?, select the desired option (e.g., Yes, apply to every sale).
3. Configure Benefits for the Sponsor
This section defines the rewards assigned to the user who invited the new customer.
1. In the goal section, scroll to the Sponsor Rewards column.
2. Configure reward assignment using the available fields:
Points Assignment (Requires Points plugin):
- In the value field, enter the number of Points to assign.
- If the goal is scalable (e.g., Product Sale), select the mode:
- Fixed: Assign a fixed value (e.g., 100 Points).
- % purchase: Assign a percentage based on the purchase value.
- In the
Assignment Notesfield, enter a note visible to the customer (optional).
Credits Assignment (Requires Customer Balance plugin):
- In the value field, enter the amount of Credits in euros to assign (e.g., 5.00).
- If the goal is scalable, select mode: Fixed or % purchase.
- In the
Assignment Notesfield, enter a note visible to the customer (optional).
4. Configure Multi-Level Benefits (Optional)
If you want to reward sponsors of sponsors as well (up to level 7), configure additional levels under either Points Assignment or Credits Assignment sections.
1. Locate the section related to the desired level (e.g., Level 2).
2. Check the box Enable [N]° level.
3. In Value to assign at [N]° level, enter the fixed amount or percentage to assign to that upper-level sponsor.
5. Configure Benefits for the Sponsored
This section defines rewards assigned to the user who has just been invited.
1. In the goal section, scroll to the Sponsored Rewards column.
2. Repeat steps described in Point 3 to configure assignment of Points Assignment and/or Credits Assignment for the sponsored client.
6. Save Changes
After configuring all desired goals and benefits, make sure to save global plugin settings.
(Note: The save button is not visible in the provided source code but it is a standard action in Admin panel for saving plugin settings.)







