In a large pan, heat olive oil over medium-low heat.
Add the sliced onions and salt. Please slice the onions evenly. Cook, stirring occasionally, until the onions soften and become translucent. It would take about 5 minutes.
This is the secret trick to get quick caramelized onions. Sprinkle the baking soda and evenly over the onions. Now also add the sugar.
Stir and cook for another 5-7 minutes, until the onions are golden brown and slightly caramelized. Keep an eye on them to avoid burning.