All are OK?
I was shocked at the prices.
I was shocked when I saw the prices. and I was shocked when I heard the prices.
I was staggered when I saw the prices. andd I was staggered when I heard the prices.
Not sure about your question as you are not specific.
But... I was shocked by the prices. I was shocked when I heard about the price increases. I staggered when I heard about the price increase realizing that I would not be able to afford my rent.