Correct markets setup

Hi, im struggling with setting up my geo-location and markets correctly. So my store’s default domain is .eu and default market is Lithuania with domain.eu/lt and then I have Europe market setup with all the european countries.

The problem I have is that there whenever a customer comes in from any of the EU countries, let’s say Greece he visits .eu domain and proceeds to checkout and in the checkout his pre-selected country is store default - Lithuania and then he has to manually change the country.

How do i make it so that his pre-selected country in checkout is based on his real visiting country from IP? Is that done with a 3rd party app or is my markets not configured correctly?

You don’t need a paid 3rd party app for this. Shopify handles it natively, but you probably just missed a setting.

Go to Settings > Markets > Preferences and turn on “Country/region redirection”.

Also, make sure your Europe market is set up to use subfolders (like .eu/gr, .eu/de) or install Shopify’s free Geolocation app. If a customer from Greece just browses the base .eu domain without their session context changing to Greece, checkout will always default to your primary country (Lithuania).

Once auto-redirect is on (or they accept the Geolocation popup), Shopify detects their IP, switches their context to Greece, and checkout pre-fills correctly.

The possible cause is here:

So odenson is .com which is not country-specific, but yours .eu is.

And looks like we’ve already discussed the geolocation topic.
The JS code shared there can be a basis for redirection solution, can be done as a “Custom liquid” section.

Make sure you have already configured your Markets correctly(countries/subfolders etc)

  • A customer lands from Greece on your site
  • Your website treats that from default market =“Lithuania”
  • When they checkout, Country is pre-selected “Lithuania”
  • You want country to be Greece or whatever location customer is visiting from.

You need to fix this before the customer reaches checkout by routing them into the correct market based on their location.

-- Using Shopify official app (Shopify Geolocation)
– Manual/Auto IP detection and redirection (make sure you have domain site.com/gr etc)
– Store can manually ask visitors to go-to particular store using popups when visitor lands on store .

Yes. the .eu domain is the reason here.

Clear now.