Hi,
Yes it's possible.
In the plugin (plugins/system/hikashopaffiliation/hikashopaffiliation.php) please replace
} else {
$partner_id = $order->order_partner_id;
}
$userClass = hikashop_get('class.user');
$user = $userClass->get($partner_id);
By
} else {
$partner_id = $order->order_partner_id;
}
$config = hikashop_config();
if($config->get('no_self_affiliation', 1) && $order->order_user_id == $partner_id)
return true;
$userClass = hikashop_get('class.user');
$user = $userClass->get($partner_id);
I just submit same kind of patch for the next HikaShop release but where the default setting for the setting is "0" and not "1" (so the option won't be activated by default like here).
Regards,