Multi store with nopcommerce 3.80

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 6 años
Hello All,

I need help in implementing Multi store on nopcommerce 3.80. We would like to launch our site for 2 countries. country1.mysite.com and country2.mysite.com

For now as we are in development stage, I would like to display coming soon page for mysite.com. Out of this we can go live with country1.mysite.com.  How can I implement this? Please advice.
Hace 6 años
Check Documentation: http://docs.nopcommerce.com/display/en/Setting+up+Multiple-Store
Hace 6 años
Thank you Technofin,

I am able to configure multistore. Please advice how can I transfer visitors depending upon their location. Please advice.
Hace 6 años
https://www.nopcommerce.com/boards/t/34307/geolocation-redirect-per-country.aspx
Hace 6 años
Thanks again.

I have used below code in Application_BeginRequest of global.asax.cs

var _geoLookUpService = EngineContext.Current.Resolve<Services.Directory.IGeoLookupService>();
            string countryCode = _geoLookUpService.LookupCountryIsoCode(webHelper.GetCurrentIpAddress());
            if (!String.IsNullOrEmpty(countryCode))
            {
                var redirectUrl = "http://mysite.com";
                if (countryCode == "ARE")
                {
                    redirectUrl = "http://uae.mysite.com/";
                }
                else
                {
                    redirectUrl = "http://mysite.com";
                }

                this.Response.Redirect(redirectUrl);




I am getting below error

This page isn’t working

mysite.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS


Am i putting the code at wrong place?. Please advice.
Hace 6 años
This plugin might help you
http://thenopplugins.com/store-ip-detector
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.