Show cart content by market or by physical location
Target cart content by the market a customer selected, or, for legal and compliance cases, by where they actually are.
Last updated
You can show or hide cart content for specific countries in two ways: by the market the customer has selected, or by where they're physically located. Market targeting is built into several features. Physical location is for legal and compliance cases, and we set it up with you.
Selected market or physical location?
- Selected market (usually what you want). The country tied to the market and currency the customer is shopping in. Shoppers can switch it with a country or currency selector. Use it for market-specific banners, prices and offers, country-specific addons and reward thresholds.
- Physical location (for legal and compliance cases). Where the customer really is, for example whether they're in the EU, regardless of the market they picked.
For example: a visitor in Germany switches your store to the United States market to see prices in USD. Their selected country is now the US, but they're still in the EU. For prices and offers, the selected market is right. For an EU legal requirement, you want their physical location.
Target by market: built-in settings
These features have market or country settings, no code needed:
- Market-specific announcement banners
- Country and market visibility for addons
- Reward thresholds per market, and gift rewards for certain countries only (see Auto-add a free gift for a specific market)
Target by physical location: compliance cases
Merchants use the customer's real location when the rule must not depend on a market the shopper can switch:
- EU right of withdrawal (in German, Widerrufsrecht), for example the withdrawal checkbox for digital products, shown only to shoppers in the EU.
- Age-restricted products such as alcohol or vaping, where what's allowed depends on where the buyer is.
- Products restricted to certain countries, because of licensing, distribution, export or sanctions rules.
- Location-based notices: showing, hiding or labelling content or legal disclaimers by real location.
With physical location, the cart can show or hide banners, messages, legal notices, checkboxes such as a compliance confirmation, addons and offers, or whole custom sections.
Good to know
- Physical-location targeting is a tailored setup built with Custom HTML (Professional plan). Tell us what to show or hide and for which countries or regions, and our team configures it.
- Location detection is best effort. It's accurate for most shoppers, but VPNs and proxies can make someone appear elsewhere. For strict legal requirements, treat it as a strong signal, not proof, and confirm your obligations with your legal advisor.
Get it set up
Contact us via the in-app chat or by email and tell us what you'd like to show or hide, and for which countries or regions.
Still stuck?
Chat with us and we'll help you get your cart live. Or email contact@elitecart.app.