Are you sitting on a horse? You can't buy if you're on a horse.
Are you right clicking the item? I don't think left click works.
That sometimes happen to me too, it gets a bit buggy. What I do is, get off any mover I'm on, close the shop window, open it again, then try right clicking it again. Don't spam it either cos it might lag it even more, but if it doesn't work after the second try then you can try spamming it.
Hope that helps.
__________________
=)

|