Location based recommendation

Hi team!

I have a ecommerce usecase in which I want to show product recommendations based on user's geo location. eg) If they are from Chicago or somewhere cold (or even northern part of USA), as soon as the user logs in, I want them to see 'sweaters' or 'beanies'. If they log in from Australia where it is summer now or even arizona (assume its warm), I want to show them hats or sunscreen as soon as they log in.

Is this possible with elastic? (either IP based or geo based etc), If so how could I accomplish this? please help