“You have a good one” is akin to saying “Have a Nice Day.”
Isn’t it ironic that “A Good One” is also a congratulatory phrase used when someone tells a “Good Joke?”

Men are most apt to believe what they least understand.
Quotation from Michel Eyquem, Of Cripples