Patent ID: 8606636

Claim:
A non-transitory computer-readable medium embodying a program executable in a computing device, the program comprising: code that identifies a user profile associated with a user in a data store associated with an electronic commerce system; code that extracts profile data about the user from the user profile; code that identifies an address from the profile data as a home address based at least upon a threshold percentage of orders in an order history of the user having been shipped to the address; code that determines a location associated with the user by retrieving a location associated with the user in a location based social networking service, the location retrieved via an application programming interface provided by the location based social networking service; code that determines at least one environmental variable associated with the location of the user, the at least one environmental variable being at least one of: a weather condition at the location or an identity of at least one event occurring near the location; code that determines whether the user is away from the home address based at least in part upon the location; and code that generates at least one product recommendation, the at least one product recommendation being based on the profile data, the location, a determination that the user is away from the home address, and the at least one environmental variable associated with the user.