
For a song
Idiomatic Usage
Used especially in informal contexts, but understood widely and acceptable in various situations. 
Figurative Speech
Remember, 'for a song' is a figure of speech meaning very cheap - it doesn't involve actual singing. 
Metaphorical Value
The phrase suggests something's so cheap it's almost like trading it for a simple song. 