Credit Last Referrer

The Credit Last Referrer option allows you to credit the last affiliate who referred the customer. To enable, check the box located under Affiliates → Settings → General, as shown in the screenshot below: 

What does it do?

So, let's say that we have an affiliate named affiliate_1 and affiliate_1 shares a link. Now customer_1 clicks on the link to a product, but they never make a purchase. A second affiliate named affiliate_2 shares an affiliate link that customer_1 clicks on and then makes a purchase. affiliate_2 will receive the commission from customer_1 over affiliate_1.