There are three main types of onions, short day, intermediate day, and long day. But they all need full sun. So, it is best to select a location where they are not shaded by other onions.