This question already has an answer here:

I can't eat onions of any kind, from shallots, green onions, red, white, yellow, or purple. What might I use as a subtitute for flavor?

marked as duplicate by SAJ14SAJ, Michael Natkin, rumtscho Feb 10 '14 at 11:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.