That graduate optometrist salary only applies for those who actually find a job and works for another more experienced optometrist. Often this is not permanent as the more experienced optometrist will find more fresh graduates as time goes and in most cases, you will be forced to leave the job. You will be eventually forced to open your own shop, leading to competition and thus, a reduced salary. Ultimately however, optom is a business and most of the cash flows in by making profits from selling glasses. Thus your salary will be influenced by how well you sell glasses.
It gets really frustrating when things are told as fact by people who have no idea. What exactly is your source AznAssassin? Are you an optometrist yourself? (it's a rhetorical question as I already know the answer).
"Actually find a job" - the graduate job find rate is 100%. Do you know of a single person who has graduated from optometry and still unemployed after they finish uni.
"forced to open your own shop" - umm no, that is a choice, which is fortunately still there (though fading with the increasing corporatisation of the industry). But not necessary. Some choose to work as employees their whole life, and do very well.
"salary influenced by how well you sell glasses" - some workplaces (especially Luxottica) have contracts that include bonuses for performance including how much the store makes from glasses. However many many do not. For example I earn 105k + super (I'm 23) and I can prescribe any product I feel is best for my patient (literally I have access to any product on the market, and am not 'recommended' to sell any particular one) and my earnings are completely unaffected in ANY way by sales/glasses.
So, in conclusion, you're wrong. Stick to pharmacy.