A lot of research and marketing is going into this confusing - the simplest equation is: The more time you spend in the place, the more likely you are to notice products you haven't before and buy stuff you don't actually came for (= don't really need).
Have I said "Fuck Capitalism!" today? Can't say it often enough I guess.