What happens to the cart when a shopper switches market

A shopper in Dublin spends ten minutes on your store, which opened for them in pounds. Three things are in the cart. Then they are offered the Ireland market, in euros, and they say yes. What happens to the three things?

The answer depends on where the offer takes them. Inside one Shopify store the cart comes along. Between two stores it does not, and nothing can make it. This post covers both cases, the moments when a geolocation popup can meet a shopper who already has a cart, and how to set up GeoBeacon so that nobody loses a basket halfway through December.

Why a popup would ever meet a full cart

Normally it does not. The popup appears on the first page a visitor opens, before they have added anything. They choose, the choice is remembered, and the cart is built in the right market from the start.

But there are four ordinary ways for a shopper to have a cart first.

  • They landed on a page you excluded, or on a campaign link with geobeacon=off. The script stayed quiet there, they added a product, and the next page they opened was a normal one.
  • They came back. A cart on Shopify outlives a visit, so a shopper who filled it last week and returns today can be asked on arrival, if the remembered choice has run out or they are on another device signed in to the same account.
  • They arrived from an abandoned cart email. The link opens the checkout or the cart, where the script never acts. If they then go back to the store to add one more thing, that page is their first normal page.
  • They chose to stay, and later changed country themselves with the selector in your footer. That is not the popup, but the effect on the cart is the same.

None of these is rare in a busy month. Together they are a small share of sessions, and they are sessions with money in them.

Same store, different market: the cart comes along

When a rule points at a market of the same store, GeoBeacon does not send the shopper anywhere new. It asks Shopify to change the country for the session, the same request your theme's country selector makes, and Shopify returns the shopper to the page they were on. The post on keeping the current page explains the return step.

The cart belongs to the store and the browser, not to a market, so it is still there after the switch. What changes is everything Shopify Markets decides per market:

  • Currency and prices. The lines are shown in the new market's currency at that market's prices. If you set fixed prices or a price adjustment for the market, the total is not simply the old total converted.
  • Taxes and duties. Whether prices include tax, and whether duties are collected at checkout, follow the new market.
  • Availability. A product that is not sold in the new market cannot be bought there. What the shopper sees for that line depends on your theme and on Shopify, so test it with one of your own excluded products.
  • Shipping. Rates are worked out at checkout from the address, as always, but the methods on offer are the new market's.

For the shopper in Dublin this is the right outcome. The three things are still in the cart, now in euros, with Irish delivery options. The switch has saved them from finding out at checkout. The post on prices that change at checkout looks at the currency side in detail.

Another store: the cart stays behind

When a rule points at a URL, such as your separate EU store on its own domain, the shopper leaves one Shopify store and arrives at another. The two stores do not share a cart. Each keeps its own, tied to its own domain, and one cannot read the other's.

So the three things stay in the UK store's cart, and the shopper arrives at the EU store with an empty one. GeoBeacon can keep the page path, so that someone on a product page arrives on the same product if the handles match. It cannot move a cart, and neither can any other storefront script.

There is no clean workaround. Shopify does have cart permalinks, links that open a cart with given variants in it, but variant IDs are different in every store, so a link built from one store's cart means nothing in the other. Treat a cross-store move as starting again, and plan for the shopper to make it before they shop.

Where the script never acts

GeoBeacon always skips a fixed list of paths, whatever your settings say. It includes the cart page, the checkout, and the account pages. A shopper looking at their cart or paying is never shown the popup and is never redirected.

That protects the last steps. It does not protect the step before them. Most themes now use a cart drawer, which slides over a product or collection page. The address is still the product page, so the script treats it as one. A shopper with items in a drawer, on a product page, on their first normal page view, can be asked. Excluding pages covers the built-in list and how to add to it.

Popup or automatic redirect

For a market on the same store, either mode is safe for the cart, because the cart follows.

For a rule that leads to another store, the mode matters. In popup mode the shopper is asked and can say no. Someone with a full cart who reads the question will often stay, pay in the currency in front of them, and be fine. In automatic redirect mode nobody is asked. The shopper opens a second product and finds themselves on another domain with an empty cart and no explanation.

If any of your rules point at another store, use popup mode for them. The post on popup versus automatic redirect compares the two more generally.

Say it in the popup

For cross-store rules, the popup text is the only chance to tell the shopper what accepting means. The default wording offers the other store. It says nothing about the cart, because for most visitors there is no cart yet.

One short sentence is enough: your cart will not carry over. People who have nothing in it ignore the line. People who do have something make an informed choice, and whichever they choose, they are not surprised. The copy examples post has wording for the rest of the popup.

For same-store rules you do not need the sentence. If you want to reassure, your cart will be updated to euros is true and short.

Remembering the answer

Once a shopper has chosen, the choice is remembered for the number of days in your Behaviour settings, 30 by default. During that time the script stays silent, so a shopper who said stay and went on to fill a cart is not asked again on the next page, or the next day.

The setting matters here more than anywhere. With a very short memory, a shopper can be asked at the start of a visit and again when they return to finish it, by which time the cart is full. If you sell things people think about for a few days, keep the memory at least as long as that. The post on how long to remember a choice goes through the trade-offs.

The memory lives in the browser. A shopper who starts on a phone and finishes on a laptop is a new visitor on the laptop. If they are signed in, Shopify may bring their cart with them, and they will be asked with items in it. This is the case from the list above that you cannot design away, and one more reason to keep cross-store rules in popup mode.

Campaign and recovery links

An abandoned cart email from Shopify opens the checkout, which the script skips. Nothing to do there.

Your own campaign emails are different. If a link carries geobeacon=off, or lands on an excluded path, the shopper starts shopping without being asked and meets the popup on the second page with something in the cart. On a single store with markets that is harmless. With two stores, it is better to send each segment to its own store in the first place, as described in the post on email campaign links.

Test it with a real cart

  1. Open your store in a private window with ?geobeacon=off on the address, so that the script stays quiet. Add two products to the cart.
  2. Open another product page, this time adding a forced country, for example ?geobeacon=IE. The popup appears as it would for a shopper in Ireland. Testing without a VPN explains the parameter.
  3. Accept. For a same-store rule, open the cart and check the lines, the currency and the total.
  4. Repeat with a product that is not sold in the target market in the cart, and note what your theme shows.
  5. For a cross-store rule, accept and look at the cart on the other store. It will be empty. Now read your popup text again and decide whether it warned you.
  6. Open the cart drawer on a product page and reload with the forced country. See how the popup and the drawer sit together on a phone.

Step five is the one that changes minds. Losing a cart feels worse when it happens to you than when you read about it.

What GeoBeacon does not do

It does not read the cart. It has no setting that hides the popup when the cart has items, no rule condition based on cart contents, and no way to copy a cart to another store. It decides from the visitor's country, the page path, the referrer and the remembered choice, and from nothing else. That is deliberate: a script that reads carts needs more access and more code, and this one is kept small.

In short

On one store with several markets, a switch keeps the cart and reprices it, which is what the shopper wants. Between two stores the cart is left behind, so ask before moving anyone, say so in the popup, and remember the answer for long enough. If you are setting up country rules for the first time this season, GeoBeacon is free while it is in early access.

Frequently asked questions

Does the cart survive when a shopper switches Shopify market?

Yes, when the markets belong to the same store. The cart stays and Shopify shows it in the new market's currency, prices and tax settings. A product that is not sold in the new market cannot be bought there, so test that case in your own theme.

Does the cart carry over when a popup sends a shopper to another store?

No. Two Shopify stores keep separate carts, each tied to its own domain. A shopper who accepts a move to another store arrives with an empty cart. GeoBeacon can keep the page path, but no storefront script can move the cart.

Can GeoBeacon hide the popup when the cart has items?

No. GeoBeacon does not read the cart. It always stays silent on the cart page, the checkout and account pages, and it stays silent once a shopper's choice has been remembered. A cart drawer on a product page does not count as the cart page.

Should I use automatic redirect to a separate store?

Use popup mode for rules that lead to another store. An automatic redirect moves a shopper who already has items in the cart to a store where the cart is empty, without asking. A popup lets them stay and finish the order.