When you offer the loan, there's a future fee dropdown. That's the price you set that a team can give you to transfer if they decide to buy. You can also take players on loan and set that future fee in your loan offer. Sometimes its a good way to snag a player cheaper than a team would usually want for them.