If you use the affiliate module, you likely already know that when an affiliate logs into their account, the only statistics available to them are the ones that your plan agrees to pay them for.
For example, if you don’t offer commission for banner shows, banner clicks, or new referral customers, the affiliate will not see these statistics, or the valuable calculations that are included in those. This makes it very difficult for your affiliates to know whether their banner placement, especially product banner placement, is working well.
If you would like to modify the cart so that all affiliate statistics visible from the admin side of the affiliate commissions module (with zero items set to show) show up when an affiliate views their commissions > general statistics - it is a quick fix.
In addons/affiliate/controllers/customer/aff_statistics.php, make the following change around line 100:
}
if (!empty($statistic_search_data['zero_actions']) && $statistic_search_data['zero_actions'] == 'Y' && AREA != 'C') {
$statistic_conditions .= " AND (amount = 0) ";
} elseif (empty($statistic_search_data['zero_actions']) || AREA == 'C') {
$statistic_conditions .= [COLOR="Red"]" ";// AND (amount != 0) ";[/COLOR]
}
Now when your affiliate logs in, they will be able to see all of the statistics for their referral traffic, including those that do not pay out.