To add a popup on the homepage of your e-commerce site for choosing location, follow the steps mentioned below:
function ($rootScope) { if ($rootScope.ms.user && !$rootScope.ms.user.store) $rootScope.ms.modal('multistore'); }
Now, when the customer opens up your site, the pop up will open for selecting the location. To know more about adding popup to choose location, go to the helpenter - https://help.storehippo.com/topic/how-to-add-different-store-locations-as-multi-store or https://help.storehippo.com/topic/geolocation-and-hyperlocal-ecommerce