It depends. Say it's a class like French, and the recommended text is a French-English dictionary: yes, I would buy it.
But if it was a class like Political Science or Women's Studies.. I wouldn't buy them.
I have never bought a "recommended textbook". I don't think I ever will. It's not required for a reason