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.

@JustinasR to close the loop for anyone with the same setup. Shopify’s automatic redirection (Online Store > Preferences > Automatic redirection) moves visitors between markets on a .com or other generic domain, but Shopify’s own help page says visitors to a store on an EU country-code domain such as .eu or .de are not redirected automatically, so on your .eu domain a Greek visitor keeps seeing Lithuania until they use the country selector. The free fixes are either to move the store to a generic domain so the native redirect works, or to make the country selector prominent in the header and announcement bar so EU visitors switch before checkout.

Disclosure: I’m Julian from Beacon Wave Studio and we build GeoBeacon, so take this with that in mind. It is built for the case Shopify leaves out: a theme app embed that reads the country Shopify already detected and either shows a small popup (“Shopping from Greece?”) that switches the visitor to your Europe market through Shopify’s localization form, or switches them automatically. Prices, currency and the checkout country then follow the market, the choice is remembered, checkout and cart pages are never touched, and you can test any country with ?geobeacon=GR without a VPN. No visitor data goes to our servers. Free while in early access. GeoBeacon - Country-based market switching and regional store redirects | Shopify App Store

Julian, Beacon Wave Studio