cancel
Showing results for 
Search instead for 
Did you mean: 

Store switcher does not work in first click

Store switcher does not work in first click

Hi Guys,

 

In my single magento 2 instance have 2 websites and each website have 6 store means total 12 store views in single magento instance, each store have own language and currency and separate domain. 

 

My default domain is magento2.testdomain.co.uk (where magento 2 is install)

 

 

magento2.testdomain.de
magento2.testdomain.it
magento2.testdomain.es
magento2.testdomain.fr
magento2.testdomain.com

 

magento2.testdomainother.fr
magento2.testdomainother.de
magento2.testdomainother.it
magento2.testdomainother.es
magento2.testdomainother.com
magento2.testdomainother.co.uk

 

 

When we open website and switch domain in first click page refresh but domain does not change  and second click domain change.

 

In first click in India it redirect .com domain and in UK it redirect .co.uk means at the time of first click it detect browser language or location and redirect there and after that second click it redirect correct domain.

 

Any one let me know why fist click it detect browser language or location, Domain should change always on first click.

 

Magento version is 2.3.5-p1

 

Thanks