Depends on how you want it to turn out. Best bet to fix it cheaply is a second-hand engine, but its a gamble.
If the piston really is cracked, it's likely to have scored the bore and potentially ruined the block.
How does he know the piston is cracked?