How can I buy cheaper books?

I love browsing through books, but I know I can always buy them cheaper online. The problem there is that you can really browse as well as in a bookshop. Is there any way I can check prices online while in the store?