People used to go downtown or to malls and stroll, looking through the windows with no actual intention of buying anything. They would go into some of the stores to get a closer look and still often not buy anything. Just looking. Window-shopping.
And it was mostly a female thing; I suppose...