Sauté Aromatics: Heat olive oil in a skillet over medium-high heat. Add onions and garlic, sauté for about 3 minutes until softened.
Cook Corn: Add corn to the skillet and cook for another 3-4 minutes.
Mix Dry Ingredients: In a large bowl, combine cornmeal, flour, baking soda, salt, and pepper.
Combine Wet Ingredients: In a measuring cup, whisk together buttermilk and egg.
Combine All Ingredients: Add the sautéed vegetables, shredded zucchini, and buttermilk mixture to the dry ingredients. Mix until combined.
Fry Fritters: Clean the skillet, add canola oil, and heat over medium-high. Scoop 1/3 cup portions of batter into the skillet. Cook each fritter for 3-4 minutes per side until golden brown. Drain on paper towels.