As i suggested, there would be massive freighters coming to such a planet from wherever the food is going, and their holds would be mostly empty when doing so. Hence, at very little extra cost they could carry some form of fertilizer back when on the return trip.
Whoever owns the farmlands may...