Place the olive oil and the chopped onions in the crockpot. Turn the crockpot to low heat.
While the onions warm in the olive oil, peel and dice the potatoes.
Add the potatoes, corn, carrots, broth, ham, and spices to the crockpot.
Cover and cook on low for four hours or until potatoes are tender. If the liquid gets too low, add some water.
Add more salt or pepper according to your taste,
Garnish with fresh cilantro or parsley if desired.
Notes
Store leftover soup in the refrigerator - it should stay fresh for about 4 days. If you prefer to make this on the stove, just add everything to a large soup pot and bring to a boil. Reduce heat to a simmer, and cook until the potatoes are tender - about 20-25 minutes.