Geo-Targeting (Pro)
import { Badge } from ‘@astrojs/starlight/components’;
Geo-Targeting lets you configure separate free shipping thresholds for different countries, each with its own currency. The bar automatically shows the correct threshold based on where the customer is located.
How it works
Section titled “How it works”- You define a list of country rules, each with a country, threshold amount, and currency.
- When a customer visits your store, the app detects their country from their IP address.
- The matching rule’s threshold and currency are used. If no rule matches, the bar’s default threshold is used as fallback.
Adding a country rule
Section titled “Adding a country rule”- Open the bar in edit mode.
- Click the Geo-Targeting tab.
- Click Add Country.
- Select the country, enter the threshold amount, and choose the currency.
- Save the bar.
Example configuration:
| Country | Threshold | Currency |
|---|---|---|
| United States | 50 | USD |
| Canada | 70 | CAD |
| United Kingdom | 40 | GBP |
| Australia | 75 | AUD |
| (default) | 50 | USD |
Priority order
Section titled “Priority order”Rules are evaluated top to bottom. The first matching country rule wins. You can drag rules to reorder them.
Supported currencies
Section titled “Supported currencies”All currencies supported by Shopify Markets are supported. The currency code must match the currency configured in your Shopify Markets settings.