Getting customers to make impulse purchases at the checkout counter has always been more of an art than a science. Now, though, the fast-food industry is combining psychology and computer technology to increase impulse buying.

A version of this article appeared in the May 2005 issue of Harvard Business Review.