The laws of shopping