If a recipe calls for: Shallots
You can substitute: A combination of garlic and white onion.
Shallots are closely related to onions and have a similar flavor, but have more pungency and depth than a standard onion. Toss a minced clove of garlic in with your onion for a pretty close approximation of shallot's flavor.
Source: Flickr User missy & the universe